Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using an old 99 blue and white G3 tower with OSX 10.3.9 on it and using Reason. After about 10 or more hours of leaving the program open, the log file fills up and on my relatively small partition, renders the program unable to save changes or do much of anything. I routinely delete the old log files when the computer is on for long periods of time but is there a shell script that can automate this process?

share|improve this question

You probably want logrotate, which is the standard unix-y way to do this. If it's not included on your install, you can get logrotate from DarwinPorts.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.