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

This question already has an answer here:

How would I go about creating a cronjob that runs at the following times every day:

  • 3:00am
  • 3:50am
  • 9:00am
  • 9:50am

I tried this but it doesn't seem to be working:

00,50    3,9    *    *    *    /usr/bin/

The Solution

After much poking around in the logs, it turns out the issue was another script higher up in the crontab was segfaulting so my crontab entry never ran at all.

I disabled those scripts and my entry ran just fine. Also, it turns out that the syntax above is perfectly valid.

share|improve this question

marked as duplicate by Michael Hampton, Ward, mdpc, growse, Scott Pack May 18 '13 at 19:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 4 down vote accepted

Is /usr/bin/ executable ?


/var/log/cron or /var/log/messages

depending on your distribution.

share|improve this answer
For what it's worth, the script runs properly if I tweak the times in the crontab. It seems to be an issue with how I was trying to do multiple minutes. – Mark Biek Jun 12 '09 at 13:52
So, in the end, not a crontab syntax issue at all. Thanks for pointing me in the right direction. – Mark Biek Jun 12 '09 at 14:18

Both of the above are good answers/questions. I ran across this yesterday and it might give you some ideas:

Practical Crontab Examples

share|improve this answer
0 3,9 * * * /usr/bin/
50 3,9 * * * /usr/bin/
share|improve this answer
Duh. That seems so obvious now. – Mark Biek Jun 12 '09 at 13:51
The two should be example, most crons accept ranges in any of the 5 fields. Which OS ? – Dave Cheney Jun 12 '09 at 13:57

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