Am Mi, den 18.08.2004 schrieb Jim Higson um 17:02: > Ooops, sorry everyone - just found the answer - the editor was wrapping the text (since I usually > use it for email I set it up this way), changed editor and everything went fine. > > I'm adding backups to my crontab with crontab -e called as root. This brought up the editor and I entered: > > > > 30 05 * * * root pdumpfs /home/jim /mnt/backup-hdd/home/jim >/mnt/backup-hdd/homejim.log 2>/mnt/backup-hdd/homejim.errlog > > 00 06 * * * root pdumpfs /etc /mnt/backup-hdd/etc >/mnt/backup-hdd/etc.log 2>/mnt/backup-hdd/etc.errlog Both lines are wrong though. Once run by cron you will get a failure mail. Don't use the "root" instruction in user crontabs. It is a correct call in the /etc/crontab, but not in the /var/spool/cron/$USER crontabs. cron already knows that it has to run the command as $USER, when it calls the user crontabs. Alexander -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp Serendipity 18:09:46 up 14 days, 11:37, load average: 0.44, 0.24, 0.27
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil