Linux Daily Delete Job with Logwatch

Mark Berry June 7, 2010

I have PBX in a Flash set up to create a daily backup and FTP the file to a Windows server. But how do I get rid of the old backups on the Linux machine, which is running CentOS 5.2? A cron job can do the deletes, but I also want a list of the deleted files delivered with my daily Logwatch 7.3 report.

Here’s what I did:

More...

About

Welcome to MCB Systems!

MCB Systems is a San Diego-based provider of software and information technology services.

Our software services include customization and programming to make software work for you.

Our proactive I.T. services help businesses control costs by providing a fixed monthly bill for routine I.T. services.

We take a consulting approach that listens first and provides solutions tailored to your business.

This Tech Blog is geared towards programmers and I.T. professionals, but end users may be interested to glimpse what goes on "behind the scenes" in developing software and keeping their computing environments stable and secure. Also visit the main Company Blog.

Mark Berry Blog author Mark Berry owns MCB Systems.

Contact MCB Systems today to discuss your technology needs!

Archive

Copyright © 2012 MCB Systems. All rights reserved.
Terms of Use - Privacy Policy
Created in WordPress using the Afterburner theme by RocketTheme.