Using Cron

From Define Wiki
Revision as of 12:12, 7 December 2012 by Michael (talk | contribs) (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 * *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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