On 4 Feb 2003, Jeff Bearer wrote: > YESTERDAY=$(date +%Y%m%d -d yesterday) > * * * * * root echo $YESTERDAY
As far as I know, cron is not bash, and is not sourcing the crontab, so bash-specific features like command substitution will not work the way you're doing it. Why not just add the command substitution to the crontab command line? * * * * * root echo $(date +%Y%m%d -d yesterday) -- "Of course I'm in shape! Round's a shape, isn't it?" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list