LOW ON and OFF

This commit is contained in:
fred 2023-04-12 18:50:24 +02:00
parent 6ddd839231
commit f8847a776a
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ else
[[ ! $(cat /tmp/mycron | grep -F 'PATH') ]] && echo "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" >> /tmp/newcron
cat /tmp/mycron >> /tmp/newcron
# ADD 20h12.process.sh line
echo "12 20 * * * /bin/bash $MY_PATH/../20h12.process.sh > /tmp/20h12.log 2>&1" >> /tmp/newcron
[[ ! $(cat /tmp/mycron | grep '20h12.process.sh') ]] && echo "12 20 * * * /bin/bash $MY_PATH/../20h12.process.sh > /tmp/20h12.log 2>&1" >> /tmp/newcron
crontab /tmp/newcron
fi