Add quotes & add logging to loop.

This commit is contained in:
Matthieu Jolimaitre 2025-05-02 17:16:10 +02:00
parent 1d1d91de6c
commit 7d7a579cbb
2 changed files with 39 additions and 2 deletions

View file

@ -13,7 +13,7 @@ function run {
do echo "[run-loop] waiting for internet connection."
done
./run-rotate
./run-rotate || true
echo "[run-loop] Waiting $interval from"
echo " $(date)"
@ -24,5 +24,5 @@ function run {
if [ -t 1 ]
then run
else run >> output.log
else run >> output.log 2>&1
fi