Change Create Windows Task to main.py

main
Sebastian Serfling 2023-08-10 15:32:58 +02:00
parent a0d2599961
commit 80045776ba
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@ apt update
apt install python3-pip git -y apt install python3-pip git -y
## Add Crontab ## Add Crontab
if [ -e .crontab ]; then if [ -f ".crontab" ]; then
echo "Gibt es" echo "Gibt es"
next next
else: else:
crontab -l | { cat; echo "30 0 * * * /root/REPORTS/setup-info.sh"; } | crontab - crontab -l | { cat; echo "30 0 * * * /root/REPORTS/setup-info.sh"; } | crontab -
echo "Gibt es nicht" echo "Gibt es nicht"
touch .crontab touch ".crontab"
fi fi
## Add GIT ## Add GIT