Check out logrotate. http://linuxcommand.org/man_pages/logrotate8.html

Ron

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Tristan Roppel
Sent: Tuesday, November 27, 2012 12:31 AM
To: arslist@ARSLIST.ORG
Subject: Re: ARerror.log file size control

**
Hi,

i have written a short bash script on the AR server side, which controls with 
the help of the at Unix command every hour the status of the arerror.log file.

BR

Tristan
Am 26.11.2012 um 12:04 schrieb Suresh Loganathan:


**
Team,

Do we have any option once the arerror.log file meets particular boundary file 
size then takes the back up and make it as empty?


Thanks in Advance,

Suresh



On Mon, Nov 26, 2012 at 1:31 AM, Neha Khandelwal 
<jbpn...@gmail.com<mailto:jbpn...@gmail.com>> wrote:
Hello All,

There is  a requirement to control size of arerror.log file.
Is there any option or setting available through which arerror.log file can be 
made empty automatically, if it size goes beyond a particular limit.
                                           OR
The only option is to manually open the file and remove its contents?

Thanks in advance

Regards
Neha

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at 
www.arslist.org<http://www.arslist.org/>
attend wwrug12 www.wwrug12.com<http://www.wwrug12.com/> ARSList: "Where the 
Answers Are"

_attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers 
Are"_

_attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers 
Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to