Last active
December 25, 2015 06:59
-
-
Save zipizap/6935828 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See "man 5 crontab" | |
# | |
# Instead of the first five fields, one of eight special strings may appear: | |
# string meaning | |
# ------ ------- | |
# @reboot Run once, at startup. | |
# @yearly Run once a year, "0 0 1 1 *". | |
# @annually (same as @yearly) | |
# @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) | |
# @hourly Run once an hour, "0 * * * *". | |
# | |
# | |
# For the first five fields, the alues are space-or-tab-separated and can be: | |
# 11 fixed val | |
# 11,22,33 list of vals | |
# */5 step 5, repeat at every 5 | |
# 4-7 range, like 4,5,6,7 | |
# | |
# | |
# +------------- min (0 - 59) | |
# | +----------- hour (0 - 23) | |
# | | +--------- day of month (1 - 31) | |
# | | | +------- month (1 - 12) | |
# | | | | +----- day of week (0 - 6) (Sunday=0) | |
# | | | | | | |
# * * * * * command [... >> stdout_and_stderr.txt 2>&1 ] | |
*/15 2-4 9,10 * * du /tmp >> stdout_and_stderr.txt 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment