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.

204 views      
Thread locked
 

Messages in this Thread

 
94,579 Postings in 11,930 Threads, 348 registered users, 5 users online (0 registered, 5 guests)
Index | Admin contact |   Forum Time: Nov 13, 2019 - 10:44 am EST  |  Hits:29,083,698  (4,312 Today )
RSS Feed