Advertisement
opexxx

cron_cheatsheet

Sep 16th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. # Email on Errors: > /dev/null
  2. # No Email at all: > /dev/null 2>&1
  3.  
  4. #PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
  5. # m h  dom mon dow   command
  6. # +---------------- minute (0 - 59)
  7. # |  +------------- hour (0 - 23)
  8. # |  |  +---------- day of month (1 - 31)
  9. # |  |  |  +------- month (1 - 12)
  10. # |  |  |  |  +---- day of week (0 - 6) (Sunday=0 or 7)
  11. # |  |  |  |  |
  12. # *  *  *  *  *  command to be executed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement