Cron Job startet nicht
Marco Meier
tolleadresse at gmx.de
Mon Feb 25 11:24:03 CET 2002
Hallo Leute,
ich habe ein sehr merkwürdiges Problem.
Ich habe ein kleines Skript geschrieben,
dass Daten auf einer redundanten Festplatte
sichern soll. Einmal täglich. Es steht in cron.daily.
Dort startet es nicht. Ich habe es testweise in
crontab eingetragen. Startet auch nicht. Ich kann
es manuell ausführen. Warum führt cron es nicht aus?
/etc/cron.daily/backup
Dateirechte
-rwxr-xr-x 1 root root 172 Feb 21 12:01 backup
Dateiinhalt
#!/bin/sh
cp -auxv / /backup
cp -auxv /home/allgemein/software /backup/home/allgemein/
/etc/crontab
0 2 * * * root /etc/cron.daily/backup
manuell ist /etc/cron.daily/backup ausführen kein Problem.
Nur was läuft hier falsch?
ps -ax | grep cron
298 ? S 0:00 /usr/sbin/cron
Gruß, Marco
More information about the Linux
mailing list