Nochmal:

Am 2005-05-09 13:37:46, schrieb Paul Lenz:

> Jedoch nachts, wenn die Logs rotiert werden, verschickt der Cron-Daemon
> seitdem Fehlermeldungen per E-Mail. Ich habe meinen Cron-Job wieder
> entfernt, aber die Fehler bleiben. Ich poste hier mal ein paar Beispiele:
> 
> Betreff:
> root test -e /usr/sbin/anacron run-parts --report /etc/cron.weekly

Wenn das im Betreff der Fehlermeldung stand, bedeutet das,
das das Programm "root" nicht ausgef�hrt werden konnte.

> Text:
> /bin/sh: line 1: root: command not found
                   ^^^^

> Betreff:
> root test -e /usr/sbin/anacron run-parts --report /etc/cron.daily
> Text:
> /bin/sh: line 1: root: command not found

hier ebenfals.

> F�r Tipps w�re ich dankbar: was sollte ich �berpr�fen, testen, �ndern...?

Deine Config f�r Cron sollte in etwa so aussehen:

  __( '/etc/crontab' )__________________________________________________
 /
| # /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.
| # This file also has a username field, that none of the other crontabs do.
| 
| SHELL=/bin/sh
| PATH=/sbin:/bin:/usr/sbin:/usr/bin
| [EMAIL PROTECTED]
| 
| # m h dom mon dow user        command
| 03 0  * * *   root    test -e /usr/sbin/anacron || run-parts --report 
/etc/cron.daily
| 05 0  * * 7   root    test -e /usr/sbin/anacron || run-parts --report 
/etc/cron.weekly
| 08 0  1 * *   root    test -e /usr/sbin/anacron || run-parts --report 
/etc/cron.monthly
 \______________________________________________________________________

> Paul Lenz

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Antwort per Email an