Posted By

binarynomad on 03/06/08


Tagged

textmate info Shell unix linux crontab cron


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

basicmagic
nimoyjohnson
jamesming
section31
srinivasga


Crontab Info


 / Published in: Other
 

  1. #####################################################################
  2. # field allowed values
  3. # ----- --------------
  4. # minute 0-59
  5. # hour 0-23
  6. # day of month 1-31
  7. # month 1-12 (or names, see below)
  8. # day of week 0-7 (0 or 7 is Sun, or use names)
  9. #
  10. #
  11. # (*) - stands for all
  12. # (0-9) - range of numbers
  13. # (0,4,6,9-11) - list of numbers and ranges
  14. # (*/2) - step every X
  15. #
  16. # EXAMPLE:
  17. #
  18. # Every 5 minutes, of every hour, on the 2nd through the 10th and 20th
  19. # through the 30th of the month regardless of the day of the week, run
  20. # myscript.
  21. #
  22. # */5 * 2-10,20-30 * /bin/myscript
  23. #
  24. # To disable the email notifications you can either do it:
  25. #
  26. # Globally, add to the top of the Crontab
  27. # MAILTO=""
  28. #
  29. # Per Command:
  30. # [time] [command] >/dev/null 2>&1
  31. #
  32. #####################################################################

Report this snippet  

You need to login to post a comment.