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

Re: Cron not working



Haines Brown <haines@histomat.net> wrote:

> This may be a FAQ, but it has me stumped. I try to do a weekly backup
> with this, but nothing happens, and there is nothing in syslog: 

>   # crontab -l
>   0 4 * * 0 /home/haines/scripts/backup

Is this the only line in that crontab?

The default Vixie-cron has the oddity that a line _must_ be terminated
by an \n (newline) to be executed.

This is why I have always a commented line like "# EOF" as the last line
of a crontab to be sure.

S°

-- 
Sigmentation fault. Core dumped.


Reply to: