Just interested to hear how people manage the following
We have a nightly cron job which amongst other things does a log file cycle for each process, it also copies the .old files to an archive directory
This works fine unless the process is bounced for some reason during the day, this cycles log files but does not do the archive, hence log file data can be lost
I’m just looking at options to manage this, suggestions so far are
1. Have another cron which runs frequently looking for .old’s to arachive
2. Rather than use hcienginestop have a routine to do the archive then hcienginestop
Any other suggestions ?
Cheers