move status message to the right location

This commit is contained in:
Adrian Reber 2015-05-05 08:44:15 +00:00
parent 5022b25da8
commit 0b6c4ac699

View file

@ -19,9 +19,6 @@ fi
let DELTA=CURDATE-LASTRUN let DELTA=CURDATE-LASTRUN
date
echo "Last sync more than ${DELTA} seconds ago. Running umdl"
/usr/local/bin/last-sync -d ${DELTA} -q /usr/local/bin/last-sync -d ${DELTA} -q
if [ "$?" -ne "0" ]; then if [ "$?" -ne "0" ]; then
@ -30,6 +27,9 @@ if [ "$?" -ne "0" ]; then
exit 0 exit 0
fi fi
date
echo "Last sync more than ${DELTA} seconds ago. Running umdl"
/usr/local/bin/lock-wrapper umdl /usr/bin/mm2_update-master-directory-list /usr/local/bin/lock-wrapper umdl /usr/bin/mm2_update-master-directory-list
if [ "$?" -eq "0" ]; then if [ "$?" -eq "0" ]; then