1753663 Members
5899 Online
108798 Solutions
New Discussion юеВ

Re: cron log

 
SOLVED
Go to solution
Stephen Grecni
Advisor

cron log

I have a cron log in var/adm/log that is huge on a hp iux 11.11 server.
-rw-r--r-- 1 root root 750969520 Nov 8 14:29 log
The log has been active since 02.22.2009.

What is the proper way to cleanup / rotate a cron log ?

thanks,

Steve
4 REPLIES 4
Johnson Punniyalingam
Honored Contributor

Re: cron log

Hi Steve,

Can you Check "MS Power point" attachment file

which has been created by "Dusan Baljevic
"

which give better picture how to maintain System Logs

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor
Solution

Re: cron log

Apologies, if you're unable to find anything from the above post regarding the cron log.


>>What is the proper way to cleanup / rotate a cron log ? <<

SAM>Routine Task->System Log Files -->select below cron.log ->trim to recommended size

/var/adm/cron/OLDlog
/var/adm/cron/log

Regards,
Johnson

Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: cron log

You can also write script to trim cron logs

Check below Threads

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1008932

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=90187

HTH,

Johnson
Problems are common to all, but attitude makes the difference
Stephen Grecni
Advisor

Re: cron log

thank you for the responses. The SAM solution worked. I'm going to look at the scripting and the document was a good overview on log maintenance in general.