Change Create Windows Task to main.py
This commit is contained in:
+8
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user