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

Re: Crontab Problem

On Thu, Dec 07, 2006 at 10:34:06PM -0500, Grok Mogger wrote:
> 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
The % sign has a special meaning in crontabs.  Change it to \%.

Baseball is a skilled game.  It's America's game - it, and high taxes.
	-- The Best of Will Rogers

Reply to: