Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Rotation of files, Need to write a program where I can rotate files
MSK
post Dec 7 2010, 10:56 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 7-December 10
Member No.: 14,820



Hi,

I need to write a program where I can rotate files, keeping a give number of old log files. I'm new to programming and not sure where to begin.

Any suggestions would be very much appreciated.

Thank you,
Sue Ann
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Dec 7 2010, 07:48 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Take a look at logrotate for a good starting point
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th November 2017 - 07:28 PM