I've written a PHP script that reads data from Facebook user's profile and sends it to my server through AJAX. This script needs to run in intervals, so I added a cron. All the PHP functions and interactions with databases through MySQL are working…
I am trying o delete all zip and rar files from a specific directory.
I have set the cron to run a PHP file called cron.php, which is is located in a Joomla module directory. For test purposes, I have set the cron job time to 5 minutes.
I also put…
I am stuck with a project, its a quick fix project & i need some expert help on this please. My clients has two separate websites.
1. http://abc123.com/using-cron-job-update-this-folder.txt <-- I'm working on this
2. http://bw.aaaaaa.com/blah.txt …
I have a script that I want to run every 5 minutes for 10 seconds.
*/5 * * * * /root/XXX/cronjobs/add-prod.sh
It seems logical to have another cron job that would run every 5 minutes and 10 seconds
that would turn off the 1st cron job.
Something…
I have a folder where some files are written upon an event. I have a bash job that monitors the folder, upon recieving new file, it triggers a job to start.
here is what i am doing currently
in crontab
@reboot /home/user/start_bash.sh
and in…
with this crontab i force nginx and supervisor to do a command in every hour and in every 4 hours. But how can i force to make this command in every 10 minutes:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the…
I'm running a python script called TGubuntu.py.
I used ls -l , and the permissions of the script are -rwxrwxrwx 1 ubuntu ubuntu 503 Jan 13 19:07 TGubuntu.py, which should mean that anyone can execute the file, right?
But I still get in the log…
I am looking to schedule a cron from 10PM to 1AM(both inclusive) every half an hour .
I tried this */30 22-0 * * *
doesn't seem to work after 11:30 PM
or to be specific this works till 11:59 PM I guess.
I am trying to use a cron job to preform daily calculation using url (GET 'https://www.t......com/bonus/go') and with the result link to my email.
But I get this result in my email:
Here's my try:
[Unit]
Description=play the a team song
[Service]
ExecStart=/usr/bin/mpg123 /home/pi/Music/the_a_team.mp3
RuntimeMaxSec=10
The song plays 21 seconds and then stops. I don't get it.
I also didn't find another solution like telling…
I'm trying to run a .php script on at 12 am (midnight) for every timezone.
My goal: I have a field in my database called time_zone. i need to send an email to that user in that "time zone" at 12 am.
i looked into cron jobs but i don't think it works…
I have 1 master table that contains the data fetched from the join of other 3 tables. Those three tables are updated very frequently.I want to schedule a cron job that will change only those rows That were updated in those three tables.
One way is…