October 24, 2014, 11:50:20 PM

News : LinuxSolved.com Linux Help Community Forum..


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

Offline ana45

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

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.

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