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
[EMAIL PROTECTED] ICQ: 4
On Fri, Feb 23, 2001 at 08:11:31PM -0900, Britton wrote:
>
> I am trying to do approximately this in a crontab:
>
> SHELL=/bin/bash
> 0 8 * * * prog >/tmp/$(date +%s).extension
>
> Anyone have any guesses as to what might be going on here?
Someone hasn't read the manuals...? ;)
man 5 crontab:
On Fri, Feb 23, 2001 at 08:11:31PM -0900, Britton wrote:
>
> I am trying to do approximately this in a crontab:
>
> SHELL=/bin/bash
> 0 8 * * * prog >/tmp/$(date +%s).extension
>
> and it doesn't work, the command never gets executed. Backtick
> substitution doesn't work either. An identical c
On Fri, 23 Feb 2001, Britton wrote:
>
> I am trying to do approximately this in a crontab:
>
> SHELL=/bin/bash
> 0 8 * * * prog >/tmp/$(date +%s).extension
>
> and it doesn't work, the command never gets executed. Backtick
> substitution doesn't work either. An identical command with a fixed
I am trying to do approximately this in a crontab:
SHELL=/bin/bash
0 8 * * * prog >/tmp/$(date +%s).extension
and it doesn't work, the command never gets executed. Backtick
substitution doesn't work either. An identical command with a fixed
string in place of the $(date +%s) command substituti
5 matches
Mail list logo