projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Forgot to include the disk's md5sum in the email
[backups/.git]
/
scripts
/
cron.sh
diff --git
a/scripts/cron.sh
b/scripts/cron.sh
index b4bf0214bccad94bf8f06ae49b899f13d0101390..ab6b47d4aebb676493d3fd44d37f0a80c7f6648e 100755
(executable)
--- a/
scripts/cron.sh
+++ b/
scripts/cron.sh
@@
-4,7
+4,7
@@
export PATH=$(dirname $0):/bin:/usr/bin
. config.sh
-if [ -n "$(find $lastbackupfile -mtime +14)" ]; then
+if [ -n "$(find $lastbackupfile -mtime +14)"
-o -n "$(cat $statusfile | grep -i incomplete)"
]; then
echo "Running backups from cron..."
exec pack-image.sh
fi