3 export PATH=$(dirname $0):/bin:/usr/bin:/sbin
5 # source the default configuration
8 # source the system specific configuration
9 [ -f /etc/lsbackups.conf ] && . /etc/lsbackups.conf
11 if [ -n "$(find $lastbackupfile -mtime +14)" -o -n "$(cat $statusfile | grep -i incomplete)" ]; then
12 echo "Running backups from cron..."
17 echo "Not running backups today. Backups were last run on $(<$lastbackupfile)"