I need to setup a cron job that does the following:
** copylogs.sh **
mv error_log error_log.mmddyyyy
mv access_log access_log.mmddyy
** end copylogs.sh **
I don't know how to setup a cron job and have "su" access, so I would need to know the steps to setting it up. Also, I would need to know how to be able to rename (mv) the log files and append the current date to the name of the log file. It doesn't necessarly have to be in the "mmddyyyy" format - whatever is the easiest, just so we have the date appended to the file name.