PPRuNe Forums - View Single Post - Linux Corner
Thread: Linux Corner
View Single Post
Old 7th October 2010 | 19:43
  #378 (permalink)  
LH2
 
Joined: May 2005
Posts: 1,170
Likes: 0
From: Abroad
Originally Posted by txdmy1
copy them daily and compress to an oldlogs directory with a cron script. Delete any over 30 days old in oldlogs within same script, simples.
man logrotate

As the OP is using OpenSUSE, this will do the trick: zypper install logrotate
LH2 is offline  
Reply