Created
February 8, 2017 02:54
-
-
Save bjdixon/3900dd4fcd7146ccd560d059817324a7 to your computer and use it in GitHub Desktop.
crontab examples with path. Edit with crontab -e, list with crontab -l
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
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
*/5 * * * * /path/to/job/to/run/every/five/minutes | |
0 9 * * * /path/to/job/to/run/every/day/at/9am | |
0 9 * * * . /source/doesnt/work/so/use/dot/script.sh | |
0 9 * * * /path/script.sh >> /var/log/output_and_errors.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment