Change Create Windows Task to main.py
parent
ac6c6dc794
commit
dfd58acf27
|
|
@ -15,9 +15,11 @@ git pull orgin main
|
|||
|
||||
## Add Crontab
|
||||
if [ -e .crontab ]; then
|
||||
echo "Gibt es"
|
||||
next
|
||||
else:
|
||||
crontab -l | { cat; echo "30 0 * * * /root/REPORTS/setup-info.sh"; } | crontab -
|
||||
echo "Gibt es nicht"
|
||||
touch .crontab
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue