1
0
mirror of https://github.com/php/systems.git synced 2026-03-23 23:32:12 +01:00

* There may be sub-directories in /local/backups, so recursively deleted

them.  This should fix the recent daily cron warning for pb12.
This commit is contained in:
Martin Jansen
2007-06-20 06:12:51 +00:00
parent ad0b153dec
commit b8fcdc486d

View File

@@ -1,4 +1,4 @@
#!/bin/sh
# $Id$
# Backup pruning
find /local/backups/ -mtime +7 -exec rm {} \;
find /local/backups/ -mtime +7 -exec rm -r {} \;