Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to adjust a cron job to run every 90 min. It was previously running every 20 min, which was a simple cron job:

*/20 * * * * whatever

To change it to every 90, it seems like I need to split it into 2 jobs, I've done this:

0 0,3,6,9 * * * whatever
30 1,4,7,10 * * * whatever

Is this right? The job doesn't seem to kick off.

share|improve this question
up vote 8 down vote accepted

That should work, except that you need:

0 0,3,6,9,12,15,18,21 * * * whatever
30 1,4,7,10,13,16,19,22 * * * whatever

24 hour time :)

share|improve this answer
1  
AHA! Brain fart over here =), thanks Bill. – Cory J Mar 17 '10 at 23:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.