[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange behavior of netdate and cron

On Wed, Aug 02, 2000 at 10:22:47AM +0800, Tam,  Vincent wrote:
> Hello,
> We put the netdate command in cron job to regular sync with NIST clock 
> at time-a.nist.gov, however it only run once and never run again.
> What would be the cause of the problem?
> Our servers are running Debian 2.1 with latest updates fetched 
> from apt-get.

What's the crontab line, and why do you think it's running only once?

My own crontab entry is below.  Note that stdout is discarded:

	# 28 */6 * * * root /usr/sbin/ntpdate ntp.css.gov 1>/dev/null

Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpNguhqBYhZl.pgp
Description: PGP signature

Reply to: