fcron

L'installazione di fcron sostituisce anacron, ma non cron.

I task daily, weekly e monthly specificati in /etc/crontab vengono disattivati a causa del link /usr/sbin/anacron → /bin/true. In pratica cron crede che sia installato anacron e non esegue i task.

Gli fcron system wide sono associati all'utente fittizio systab, per vederli:

fcrontab -l -u systab

Per editare il fcrontab di sistema:

fcrontab -e -u systab

Per vedere quando un task è stato schedulato, si usa fcrondyn:

fcrondyn
fcrondyn> ls systab

La sintassi dei fcrontab è descritta in man di fcrontab(5), ecco un esempio di un comando eseguito ogni 24 ore di uptime:

@mailto(niccolo@rigacci.org),forcemail 24h /usr/local/bin/script
doc/appunti/linux/sa/fcron.txt · Last modified: 2010/03/03 23:12 by niccolo
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki