February 25, 2024, 07:33:10 PM

News : LinuxSolved.com Linux Help Community Forum..

Author Topic: Cut off every 7 days  (Read 9054 times)

Offline ana45

  • New Member
  • Posts: 3
Cut off every 7 days
« on: October 27, 2009, 06:15:54 AM »

I am a trainee Linux administrator in my company and still a newbie. How do I set the cron job to only show the current week's backup (in the database backup directory) and remove the previous week's backups.

One week would mean Monday to Saturday.

Pls help.

« Last Edit: October 27, 2009, 06:34:57 AM by ana45 »