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.

343 views      
Thread locked
 

Messages in this Thread

 
95,076 Postings in 11,987 Threads, 350 registered users, 122 users online (0 registered, 122 guests)
Index | Admin contact |   Forum Time: Aug 14, 2020 - 2:05 am EDT  |  Hits:33,103,155  (2,917 Today )
RSS Feed