I had the same problem with ntpdate...  Putting the command into a
script fixed it, so I suspect it was an environment problem of some
sort..

ie:

in the root cron:  (Couple of times a weeek, at 2:06.. Dunno why)
2 6 * * 0,4 /root/cron/synctime

The script:
#!/bin/bash
ntpserver="ntp.public.otago.ac.nz"
 
/usr/sbin/ntpdate $ntpserver

Cheers, Chris H.

On Mon, 2003-10-06 at 09:22, Andrew Errington wrote:
> What's wrong with this picture?
> 
> Here is root's crontab:
> 
> 10 3 * * * ntpdate ntp.public.otago.ac.nz
> 10 3 * * * touch ~ame/rootwashere
> 
> The first line is supposed to update the time every day at ten past three 


Reply via email to