Set nice value and detach from cron
[backups/.git] / scripts / cron.sh
diff --git a/scripts/cron.sh b/scripts/cron.sh
deleted file mode 100755 (executable)
index d052bd9..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-export PATH=$(dirname $0):/bin:/usr/bin:/sbin
-
-. config.sh
-
-if [ -n "$(find $lastbackupfile -mtime +14)" -o -n "$(cat $statusfile | grep -i incomplete)" ]; then
-  echo "Running backups from cron..."
-  exec pack-image.sh
-fi
-
-echo "Not running backups today.  Backups were last run on $(<$lastbackupfile)"