finally fixed legacy sintax or whatever

This commit is contained in:
Histmy 2021-11-07 14:06:43 +01:00
parent 1d62e85925
commit 086f1cbbf2

View File

@ -1,6 +1,6 @@
while true
do
cas=`date +"%s"`
cas=$(date +"%s")
if node . $neco
then
echo stahuju update
@ -11,7 +11,7 @@ do
else
echo exit code byl $?
neco=neco
novejcas=`date +"%s"`
novejcas=$(date +"%s")
if (($cas+86400<$novejcas))
then
echo Pošlo to, let\'s restart