command substitution in a crontab with SHELL=/bin/bash
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 substitution works perfectly.
An identical command executed on the command line works perfectly.
Anyone have any guesses as to what might be going on here?
Britton Kerin
__
GNU GPL: "The Source will be with you... always."
Reply to: