Save Crontab Logfile with Date-Timestamps


15 15 * * * /u01/app/oracle/backups/scripts/test.sh >>/mnt/uranus/rman/logs/59_`date +\%Y\%m\%d\%H\%M\%S`.log

It will create ‘/mnt/uranus/rman/logs/59_201403171515.log’

Leave a comment