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

Re: crontab -e



* Mario Duve <list-debian@nomagic.de> [05-02-03 09:03]:
> Gliebe Richard (gr) wrote:
> > Hallo,
> > 
> > wenn ich den crontab mit "crontab -e" editiere, werden die
> > Aenderungen nicht sofort aktiv, erst wenn ich den
> > cron stoppen und wieder starte
> > (/etc/init.d/cron stop; /etc/init.d/cron start)
> > 
> > Komisch ?
> 
> Logisch?

Bei mir werden diese Änderungen sofort übernommen, ist auch logisch,
denn man cron sagt:

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  modified. Note
^^^^^^^^^^^^^^^^^^^^^
that the crontab(1) command updates the modtime of the spool
directory whenever it changes a crontab

Gruss 
Jens



Reply to: