[ubuntu-it] crontab

Marco Fabbri mrfabbri a gmail.com
Ven 16 Feb 2007 17:08:58 GMT


On Fri, 2007-02-16 at 13:30 +0100, Stefano Manni wrote:
> ciao perchè non funziona il crontab?
> faccio crontab -e
> e scrivo:
> 
> 5 23 15 2 * admin touch /home/admin/Desktop/provacrontab.log
> 
> cioe alle 23:05 di oggi crontab dovrebbe generare sul mio desktop uno
> stupido file di prova.
> Come mai non va??

direi che c'è un "admin" di troppo, i campi che compongono una riga del
file crontab sono:

MINUTO ORA GIORNO_DEL_MESE GIORNO_DELLA_SETTIMANA COMANDO[e ARGOMENTI]

ogni utente ha un suo crontab, se vuoi modificare il crontab del
superuser devi usare il comando

sudo crontab -e

per quello dell'utente PIPPO

sudo crontab -e -u PIPPO

Ciao,


-- 
Marco

=====
"We know nothing
 — that is the first point.
Therefore we should be very modest
 — that is the second.
That we should not claim to know when we do not know
 — that is the third."

 Karl R. Popper




Maggiori informazioni sulla lista ubuntu-it