Skip to content

Instantly share code, notes, and snippets.

@rohithreddy
Last active December 31, 2015 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohithreddy/8001331 to your computer and use it in GitHub Desktop.
Save rohithreddy/8001331 to your computer and use it in GitHub Desktop.
Adding A cron Job Example
## # Run /bin/false every minute year round
* * * * * /bin/false
## # Run /bin/false at 1:35 on the mon,tue,wed and the 4th of every month
35 1 4 * mon-wed /bin/false
## # Run /bin/true at 22:25 on the 2nd of March
25 22 2 3 * /bin/true
## # Run /bin/false at 2:00 every Monday, Wednesday and Friday
0 2 * * 1-5/2 /bin/false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment