CRONTAB
To access, type "crontab –e"
Some examples:
1 * * * * #script.bat #run at one minute past the hour, every day of the week
*/1 * * * * #script.bat # run every minute, every hour, every day
0 12,0 * * * #run at 12 and midnight, every day
* 12 * * * #A common mistake, run every minute between 12 and 13. (60 times a day)
Ensure that you put full paths because this will be running as route
Once edited, restart the cron
sudo service cron restart
Comments
Post a Comment