I want to track each crontab output to separated file. Normally, I use this as crontab entry:
1 * * * * root php /mix/dostuff.php > /tmp/dostuff.txt
Now, I want to make it to write instead of
I could get the date part, using this:
TIMESTAMP=`date +%Y-%m-%H\ %k:%M:%S`
Now, how do I stick this TIMESTAMP into output file?