Last active
January 27, 2019 23:21
-
-
Save schuerg/b17898cce45d4111abdbbb08174a735f to your computer and use it in GitHub Desktop.
[Crontab template header] Crontab header for remembering crontab syntax. #linux #cron
This file contains hidden or 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
# Do every X intervals: */X | |
# For multiple values use commas: 3,12,47 | |
# Dump output: >/dev/null 2>&1 | |
# Aliases: @reboot, @yearly, @monthly, @weekly, @daily, @hourly | |
# Crontab generator: https://crontab-generator.org/ | |
SHELL=/bin/sh | |
# If empty "", then no mail is sent | |
MAILTO="" | |
CRON_TZ=Europe/Berlin | |
RANDOM_DELAY=5 | |
PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:$PATH | |
# +----------------------- Minute (0-59) | |
# | +------------------ Hour (0-23) | |
# | | +------------- Day Of Month (1-31) | |
# | | | +-------- Month (1-12) | |
# | | | | +--- Day Of Week (0-6) (Sunday = 0) | |
# | | | | | | |
# * * * * * COMMAND | |
# * */6 * */15 * mysqldump -u root -pPASSWORD database > /root/db.sql >/dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment