Add date and time to cron log
The following script can be used to modify the existing cron job, so that date and time are added to each record:
#!/bin/sh
Add date to each line on STDIN
Usage: SOMESCRIPT | log2date.sh >> LOGFILE
hostname=hostname
logname=$LOGNAME
cat /dev/stdin | while read line do echo "$(date +'%a %b %e %T %Y') $hostname $logname: $line" done
exit 0