Greebo
N9017H - C172M (1976)
- Joined
- Feb 11, 2005
- Messages
- 10,976
- Location
- Baltimore, MD
- Display Name
Display name:
Retired Evil Overlord
Sadly, linux is not my strong suit, but PoA runs on Redhat 9.
Our log files are getting huge. (Like, 4 gigs of logs right now)
I'm looking for a cron-job script that will truncate the logs back to 7 days worth of history, run nightly.
I don't know if I need to shut down apache when I do this or not...
So what I need is someone who's wise in the ways of linux and apache to help me out in creating an appropriate cron job and script to help keep our file space free.
Our log files are getting huge. (Like, 4 gigs of logs right now)
I'm looking for a cron-job script that will truncate the logs back to 7 days worth of history, run nightly.
I don't know if I need to shut down apache when I do this or not...
So what I need is someone who's wise in the ways of linux and apache to help me out in creating an appropriate cron job and script to help keep our file space free.