Crontab: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 18:27, 4 February 2011

Edit the crontab file with vi:

crontab -e

List the current crontab file

crontab -l

Examples of crontab lines:

# run this program every day at 11:30pm
30 23 * * * /home/userid/www/aw/aw-parser.pl -d

# 8.00 PM every weekday (Mon-Fri) only in Oct.
0 20 * 10 1-5 /home/me/someprogram

# At 12.05,12.10 every Monday AND on 15th of every month
5,10  0  15  *  1