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

Re: Crontab Problem



Am 2006-12-07 22:34:06, schrieb Grok Mogger:
> I tried doing something like this in the system wide crontab 
> (/etc/crontab) and I was disappointed to find that it didn't 
> work.  It seems like the job just never ran at all.  Can anyone 
> tell me what might have happened?
> 
> (This is of course supposed to be on one line)
> 
> 00 22 * * * root nice /some/place/myscript.sh 1> 
> /other/place/logs/`date +%F`.output 2> /other/place/logs/`date 
                    ^        ^                             ^
> +%F`.errors
     ^
     This do not work in crontabs

You must put your EXEC string in a script file end then execute it.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: