upilliappan
MIS
Hi
I am using Linux Redhat and I have a cronjob scheduled. I would like to redirect the output to a filename with data and time . I tried the following syntax but it didn't work
10 * * * * * list_files.sh > /tmp/list_files`date`.log
My requirement is the listfiles script should spool the output to list_files_dd-mon-yyyy_hh24:mi:ss.log.
Thanks for you help
Upilli Appan
I am using Linux Redhat and I have a cronjob scheduled. I would like to redirect the output to a filename with data and time . I tried the following syntax but it didn't work
10 * * * * * list_files.sh > /tmp/list_files`date`.log
My requirement is the listfiles script should spool the output to list_files_dd-mon-yyyy_hh24:mi:ss.log.
Thanks for you help
Upilli Appan