Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

cron log

SOLVED
Go to solution

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
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

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.