How to set cron job on odd and even minutes?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pedja
    Senior Member
    • Mar 2004
    • 329

    How to set cron job on odd and even minutes?

    Docs says this:

    0-59/2 * * * * /path/to/evenjob.sh
    1-59/2 * * * * /path/to/oddjob.sh

    CPanel does not accept it.

    Is there some other way to do it?
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    #2
    Just use */2 for even minutes. cPanel's syntax filter may be causing issues with the odd minutes. We can always set it up for you if necessary.

    Comment

    Working...