LCA2011 version
[tridge/junkcode.git] / test_backup.sh
1 #!/bin/sh
2
3 count=`find /home/tridge/backup/susan -type f -ctime -3 | wc -l`
4
5 if [ "$count" -lt 1 ]; then
6     date | Mail -s 'susan backup failed' tridge
7 fi