linux-l: hwclock && timeserver

Matthias Kranz mskranz at zedat.fu-berlin.de
Di Jul 13 13:40:18 CEST 1999


On Tue, Jul 13, 1999 at 10:09:22AM +0200, Dr. Bernd Freistedt wrote:
> ---Oliver Hillmann (linux-l at mlists.in-berlin.de) wrote on Tue, 13 Jul 1999 01:17:22 +0200 (CEST)
> > On Tue, 13 Jul 1999, Dr. Bernd Freistedt wrote:
> > 
> >> Wenn Du das moechtest kann
> >>     `0 */2 * * * root netdate -v time.fu-berlin.de > /dev/null ;\
> >>     /sbin/clock -uw`
> >> in die /etc/crontab (cron muss danach restartet werden).
> > 
> > Oops! Ist dem wirklich so? Nicht, daß mir das Dämonenstarten nach
> > Konfigurationsdateienänderung neu wäre... Aber cron?
> 
> Ja, das ist es. Der cron-Daemon muss die crontab erst weieder
> einlesen, sonst arbeitet er mit der alten weiter.

Man page excerpt:

...
       Additionally, cron checks each minute to see if its  spool
       directory's  modtime  (or the modtime on /etc/crontab) has
       changed, and if it has, cron will then examine the modtime
       on all crontabs and reload those which have changed.  Thus
       cron need not be restarted whenever a crontab file is mod­
       ified.   Note that the crontab(1) command updates the mod­
       time of the spool directory whenever it changes a crontab.

Gruss,
Matthias
-- 
Matthias Kranz    kranz at math.fu-berlin.de
   http://www.math.fu-berlin.de/~kranz



Mehr Informationen über die Mailingliste linux-l