I have a crontab running like:
*/15 * * * 4,5 /apps/ins/sid/compare_stats 2>> /apps/ins/sid/compare_stats.err
Everything working as expected. the only thing is I want my error logs to generate in the compare_stats.err
file like this:
Jul 3 14:45:04 <error text>
which means I just want to add a date
along with this. Is there any way to do it by modifying the crontab entry ( without really making any change in my script) ?
Thanks in advance.