I introduced a new log file approach for an application that gets run in Solaris.
It basically is just an historical view of logs for a process that gets run weekly. Each log file has a timestamp embedded in the file name.
I wanted to create a cron job to delete files older then 2 months. I'm not sure how cron works or how to script this.
Any suggestions?
Thanks,
Mark Stewart
Senior Analyst
Consultants Club Corp.
Windsor, Ontario
Canada
It basically is just an historical view of logs for a process that gets run weekly. Each log file has a timestamp embedded in the file name.
I wanted to create a cron job to delete files older then 2 months. I'm not sure how cron works or how to script this.
Any suggestions?
Thanks,
Mark Stewart
Senior Analyst
Consultants Club Corp.
Windsor, Ontario
Canada