Open main menu

CDOT Wiki β

Changes

Crontab tutorial

577 bytes added, 10:53, 14 January 2017
crontab Entry Format
*A , separated list of numbers
*Month and day of week can be short words (or ranges or lists of words)
 
===Shortcuts for crontab Entries===
 
Below are a listing of shortcut keywords (in bold) can can be used to represent the fields.
You would still have to specify the command or program to run.
 
'''@reboot''' Run once, at startup. None
'''@yearly''' Run once a year 0 0 1 1 *
'''@annually''' (same as @yearly) 0 0 1 1 *
'''@monthly''' Run once a month 0 0 1 * *
'''@weekly''' Run once a week 0 0 * * 0
'''@daily''' Run once a day 0 0 * * *
'''@midnight''' (same as @daily) 0 0 * * *
'''@hourly''' Run once an hour 0 * * * *
13,420
edits