File: cron.weekly

package info (click to toggle)
bsmtpd 2.3pl8b-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 220 kB
  • ctags: 236
  • sloc: ansic: 1,928; makefile: 178; sh: 31
file content (10 lines) | stat: -rw-r--r-- 165 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh

BAK=/var/spool/bsmtp/bak

#
# Remove 28 days old backup files:
#
if [ -d $BAK ] ; then
    find $BAK -mtime +28 -type f -exec rm -f {} \; > /dev/null
fi