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

Re: Cron verschickt Fehlermeldungen



"Michelle Konzack" <linux4michelle@freenet.de> schrieb:

> > 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
>                    ^^^^

Klingt logisch. Aber "root" soll doch gar kein Kommando sein, sondern
der User, der das nachfolgende Kommando ausführt - siehe Erklärung zu
"username field". Stimmt da etwas nicht?


>   __( '/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.
> |=20
> | SHELL=3D/bin/sh
> | PATH=3D/sbin:/bin:/usr/sbin:/usr/bin
> | MAILTO=3Dxxxxxxxxx.xxxxxxx.xxxxx@freenet.de
> |=20
> | # 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
>  \______________________________________________________________________


Mein crontab sieht genau so aus, nur die Zeiten sind etwas anders:

# m h dom mon dow user  command
37 4    * * *   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
25 4    * * 1   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.weekly
13 4    1 * *   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.monthly
#


Paul Lenz

-- 
Dies ist eine gültige Email-Adresse.
Vor SPAM und Viren schützt mich www.spavi.de




Reply to: