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

Re: command substitution in a crontab with SHELL=/bin/bash



Ciao Britton,

> SHELL=/bin/bash
> 0 8 * * * prog >/tmp/$(date +%s).extension
> 
> and it doesn't work, the command never gets executed.  Backtick

maybe date is not in cron PATH, try to use
/bin/date

-- 

Paolo Pedaletti, Como, ITALYa     www.fastflow.it/~paolop
paolop@matapp.unimib.it           ICQ: 4755831



Reply to: