Hi,
I use to be able to do stuff like this with Solaris is there some reason why these lines in my crontab don't work with RH9?
Code:
# blah blah
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=dog
MYts=`date +%Y%m%d%H%M`
# these do NOT run
* * * * * export MYts="XYZ" ;; echo $MYts > test_file_1
* * * * * MYts=`date` ;; export MYts ;; echo $MYts > test_file_2
* * * * * MYts=`date` ;; echo $MYts > test_file_2a
* * * * * echo "Hello" > test_file_`date +%H%M`
# this does run
* * * * * date > test_file_3