duda sobre cron

Alvaro Herrera alvherre en alvh.no-ip.org
Jue Ene 4 21:18:22 CLST 2007


Horst H. von Brand escribió:
> Felipe Tornvall N. <lpct en linux.pctools.cl> wrote:
> 
> [...]
> 
> > yo nunca trabajo con crontab -e .... uso directamente el /etc/crontab .... 
> 
> Brillante. crontab -e se supone que maneja el cuento de varios metiendo
> mano simultaneamente, y le avisa a cron(8) que las cosas han cambiado.

crontab -e edita el archivo del "spool" de cron (/var/spool/cron/$USER o lo que
sea), no /etc/crontab.   Dice el manual crontab(5)

       # /etc/crontab: system-wide crontab
       # Unlike any other crontab you don't have to run the `crontab'
       # command to install the new version when you edit this file
       # and files in /etc/cron.d. These files also have username fields,
       # that none of other the crontabs do.


-- 
Alvaro Herrera                        http://www.advogato.org/person/alvherre
"The eagle never lost so much time, as
when he submitted to learn of the crow." (William Blake)


Más información sobre la lista de distribución Linux