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

2001-02-26 Thread paolo pedaletti
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

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

2001-02-24 Thread Tommi Komulainen
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:

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

2001-02-24 Thread Sven Hoexter
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

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

2001-02-24 Thread Oki DZ
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

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

2001-02-23 Thread Britton
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