Well, progress.  I decided to use anacron so that I would not be
updating my clock at each boot.  Once per week should be fine.  And I
see that anacron is run by default, so all that is needed is to put an
entry in anacrontab:

# added 11/30/2009 dlh
# period(days) delay(min.)   identifier             job
     7                    0             NTPDATE-DEB
/usr/sbin/ntpdate-debian

After reboot, syslog contains:

Nov 30 11:57:14 R2D4 anacron[3551]: Will run job `NTPDATE-DEB' in 0 min.
Nov 30 11:57:14 R2D4 anacron[3551]: Jobs will be executed sequentially
Nov 30 11:57:14 R2D4 anacron[3551]: Job `NTPDATE-DEB' started
Nov 30 11:57:14 R2D4 /usr/sbin/cron[3596]: (CRON) INFO (pidfile fd = 3)
Nov 30 11:57:14 R2D4 /usr/sbin/cron[3597]: (CRON) STARTUP (fork ok)
Nov 30 11:57:14 R2D4 anacron[3551]: Job `NTPDATE-DEB' terminated (exit
status: 1) (mailing output)
Nov 30 11:57:15 R2D4 /usr/sbin/cron[3597]: (CRON) INFO (Running @reboot jobs)
Nov 30 11:57:15 R2D4 anacron[3551]: Normal exit (1 job run)

I take this to mean that there was a problem (exit status: 1).  Yet I
can find nothing in the mail logs.  man anacron says the mail will go
to the user (usually root).  Is there some mail log which I am not
privy to, due to ubuntu handling of root?  I can make an entry in
anacrontab to cause the mail to go wherever I want by assigning it to
the MAILTO variable, but I do  not know the format. Is it just a file
name?

Thanks,
-Denis
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to