Pages

Search This Blog

Thursday, October 4, 2018

Crontab Entries

Crontab Add Timestamp to the logfile:

If you want append date to the crontab logfile use below format:

45 09 * * * "/u01/scripts/test_date.sh" >/u01/scripts/test_date.log\_`date +\%Y\%m\%d\%H\%M` 2>&1



No comments:

Post a Comment