Change Create Windows Task to main.py

main
Sebastian Serfling 2023-08-10 15:26:39 +02:00
parent ac6c6dc794
commit dfd58acf27
1 changed files with 2 additions and 0 deletions

View File

@ -15,9 +15,11 @@ git pull orgin main
## Add Crontab ## Add Crontab
if [ -e .crontab ]; then if [ -e .crontab ]; then
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"
touch .crontab touch .crontab
fi fi