finally fixed legacy sintax or whatever
This commit is contained in:
parent
1d62e85925
commit
086f1cbbf2
4
start.sh
4
start.sh
@ -1,6 +1,6 @@
|
|||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
cas=`date +"%s"`
|
cas=$(date +"%s")
|
||||||
if node . $neco
|
if node . $neco
|
||||||
then
|
then
|
||||||
echo stahuju update
|
echo stahuju update
|
||||||
@ -11,7 +11,7 @@ do
|
|||||||
else
|
else
|
||||||
echo exit code byl $?
|
echo exit code byl $?
|
||||||
neco=neco
|
neco=neco
|
||||||
novejcas=`date +"%s"`
|
novejcas=$(date +"%s")
|
||||||
if (($cas+86400<$novejcas))
|
if (($cas+86400<$novejcas))
|
||||||
then
|
then
|
||||||
echo Pošlo to, let\'s restart
|
echo Pošlo to, let\'s restart
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user