Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The following cron job works fine:

*/1 * * * * /path/to/script

But this does not start:

0 23 * * * /path/to/script

This confuses me a lot. I do not get any error messages when setting up the cron job, but the second cron job just will not start?

It is the same script that is being run so it can not be any errors in the script.

share|improve this question
    
When did you expect it to start? It is configured for 23:00, I just want to make sure that this was your original intention. –  Vladimir Blaskov Sep 15 '11 at 10:03
    
it should be configured for 23:00, I then test it by changing the computer clock. –  Toby Sep 15 '11 at 10:06
    
What distribution and which version is that? –  Vladimir Blaskov Sep 15 '11 at 10:15

1 Answer 1

up vote 0 down vote accepted

Your configuration is fine, but it looks like your testing method is a bit flowed. Read the comments of this bug report to see if it may relate to your problem: https://bugs.launchpad.net/ubuntu/+source/cron/+bug/274631

share|improve this answer
    
yes, that was the problem. in my version of ubuntu it seems that the cron time does not change until reboot if system clock is changed. great thx! –  Toby Sep 15 '11 at 10:57

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.