Difference between revisions of "Using Cron"

From Define Wiki
Jump to navigation Jump to search
(Created page with "<pre> If your using crontab -e: */5 * * * * /usr/local/bin/myjob but if it is to be put in cron.d it needs a user name before the actual command: */5 * *...")
 
(No difference)

Latest revision as of 12:12, 7 December 2012

If your using crontab -e:
 
*/5   *   *    *   *   /usr/local/bin/myjob 
 

but if it is to be put in cron.d it needs a user name before the actual command:

*/5   *   *    *   *   root  /usr/local/bin/myjob