Re: crontab problems, was (no subject)

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

 



On Wednesday 18 August 2004 15:56, Jim Higson wrote:

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
> 
> I'm trying to backup my home dir daily at 5:30am and /etc at 6am
> 
> When I save+exit from the editor crontab says:
> 
> crontab: installing new crontab
> "/tmp/crontab.3410":2: bad day-of-month
> errors in crontab file, can't install.
> Do you want to retry the same edit?
> 
> I can't see the problem here. In both cases I have '*' as the day-of-month
> 
> 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux