Last active
April 6, 2017 21:01
-
-
Save romach/fdf2ad6aa3bffe7271bcaf26b8e2704d to your computer and use it in GitHub Desktop.
Run cron on odd and even minutes
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
| # Run cron on odd minute | |
| 1-59/2 * * * * date >>/tmp/odd | |
| # Run cron on even minute | |
| */2 * * * * date >>/tmp/even |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment