Re: crontab jobs not running?
On Thu, Mar 18, 2004 at 10:16:29PM +0100, Martin Dickopp wrote:
>
> What happens if you specify `* * * * *' (i.e. every minute) as time
> specification?
>
Well, now that seems to work. I added that entry via 'crontab -e' and it
did work. After that, I also tried some partial times, such as "41 * * * *"
and then "43 20 * * *", and they both worked. Once I did that, the same
applies to entries such as "50 20 * * Thu". The more I troubleshoot this,
the more confused I am.
>
> Does your clock run monotonically, or could it step (possibly because
> you run tools which synchronize it to some external reference time)?
>
No, I just checked and I'm not using 'ntp' or any such program to sync the
system time.
> If you run `date' and `date -u' from /etc/crontab, what do they show?
>
These are the lines I added to the "/etc/crontab" file:
* * * * * root /bin/date > /tmp/date_crontab
* * * * * root /bin/date -u > /tmp/date2_crontab
The output was, in that order:
Thu Mar 18 20:59:01 CST 2004
Fri Mar 19 02:59:01 UTC 2004
It looks fine to me. I suppose I should go ahead and reboot the darn thing,
just to see if this clears up. I just cannot find any rational explanation
to this behavior. Sure, this is not Windows. Still, let's see.
----------------
Nitebirdz
http://www.sacredchaos.com/
Reply to: