Change Create Windows Task to main.py

main
Sebastian Serfling 2023-08-10 15:32:18 +02:00
parent dfd58acf27
commit a0d2599961
1 changed files with 8 additions and 6 deletions

View File

@ -7,12 +7,6 @@ cd /root/REPORTS
apt update
apt install python3-pip git -y
## Add GIT
git init
git remote add orgin https://gitlab.stines.de/sebastian.serfling/REPORTS.git
git fetch
git pull orgin main
## Add Crontab
if [ -e .crontab ]; then
echo "Gibt es"
@ -23,6 +17,14 @@ else:
touch .crontab
fi
## Add GIT
git init
git remote add orgin https://gitlab.stines.de/sebastian.serfling/REPORTS.git
git fetch
git pull orgin main
## Install Python
python3 -m pip install virtualenv
python3 -m virtualenv venv