According to my SuSE Linux 8.2 Administration Guide, the
logrotate
program is provided.
You don't necessarily need to use the system file /etc/logrotate.conf.
You can instead use your own local config file, specific for your application, and just
specify that config file on the command line.
Personally, I would write a shell script (sorry, no perl) that runs from cron,
which invokes logrotate and then does the copying you want.
Run it just before the bosses get to work in the morning :-)
|