move status message to the right location
This commit is contained in:
parent
5022b25da8
commit
0b6c4ac699
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue