What I want to do is this:
make a backup of my Apache Access-Log every week before my host resets them. They do that every Sunday at 00:00, so I want to make a backup one/two minutes before that - I could use a cron job for that. The access-log has to go to a designated directory (backups) and the file should be copied with the name log-yyyyww where yyyy is the year and ww the week (01,02).
I'm not sure how to set this up, since I'm fairly new to Perl scripting. Is it sensible to do this in Perl, or would a shell-script be easier ?
------------------
Regards,
Mike Philippens
www.oracle-home.com
[This message has been edited by mphilipp (edited March 05, 1999).]
make a backup of my Apache Access-Log every week before my host resets them. They do that every Sunday at 00:00, so I want to make a backup one/two minutes before that - I could use a cron job for that. The access-log has to go to a designated directory (backups) and the file should be copied with the name log-yyyyww where yyyy is the year and ww the week (01,02).
I'm not sure how to set this up, since I'm fairly new to Perl scripting. Is it sensible to do this in Perl, or would a shell-script be easier ?
------------------
Regards,
Mike Philippens
www.oracle-home.com
[This message has been edited by mphilipp (edited March 05, 1999).]

