ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Any clever ideas how to cull log files to a GFS scheme?   [Help!]

By: Peter Shute       
Date: Feb 06,2019 at 17:41
In Response to: [Help!] Any clever ideas how to cull log files to a GFS scheme? (Peter Shute)

Maybe the best way is to cull them as they're created.

I could have a weekly scheduled task to copy the most recent log to a weeklies folder, and a monthly scheduled task to copy the most recent log to a monthlies folder.

Then I think I just need a script to delete all by the most recent 52 weeks of logs from the weeklies folder and all but the most recent 4 weeks of logs from the dailies.

I'm losing interest already.

158 views      
 

Messages in this Thread

 
94,319 Postings in 11,901 Threads, 347 registered users, 7 users online (0 registered, 7 guests)
Index | Admin contact |   Forum Time: Jun 24, 2019 - 12:38 pm EDT  |  Hits:27,922,283  (1,183 Today )
RSS Feed