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

Re: cron.daily



Sandro Tosi scrisse in data 25/10/2005 17:14:

Guarda allora in /var/log/syslog o piu' in generale se ti ispira
qualche file in /var/log.
Grandioso! ...effettivamente in syslog qualcosa c'è:

intranet:~# cat /var/log/syslog.0 | grep anacron
Oct 25 07:35:16 localhost anacron[15418]: Job `cron.daily' terminated
Oct 25 07:35:16 localhost anacron[15418]: Normal exit (1 job run)
Oct 26 06:25:01 localhost /USR/SBIN/CRON[18953]: (root) CMD (test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily) Oct 26 07:30:01 localhost /USR/SBIN/CRON[18975]: (root) CMD (test -x /etc/init.d/anacron && /usr/sbin/invoke-rc.d anacron start >/dev/null) Oct 26 07:30:02 localhost anacron[18994]: Anacron 2.3 started on 2005-10-26 Oct 26 07:30:02 localhost anacron[18994]: Will run job `cron.daily' in 5 min. Oct 26 07:30:02 localhost anacron[18994]: Will run job `cron.weekly' in 10 min. Oct 26 07:30:02 localhost anacron[18994]: Jobs will be executed sequentially
Oct 26 07:35:02 localhost anacron[18994]: Job `cron.daily' started
Oct 26 07:35:02 localhost anacron[18998]: Updated timestamp for job `cron.daily' to 2005-10-26

quindi sembra che cron.daily venga eseguito; come mai allora il comando che ho inserito in cron.daily non viene eseguito? Tieni conto che ha gli stessi permessi (rwxr-xr-x) degli altri files nella dir e che se lo eseguo manualmente funziona che è un piacere.

...mi sfugge qualcosa :-\

Grazie mille per il tuo aiuto

Piviul




Reply to: