Change Create Windows Task to main.py
This commit is contained in:
+8
-6
@@ -7,12 +7,6 @@ cd /root/REPORTS
|
|||||||
apt update
|
apt update
|
||||||
apt install python3-pip git -y
|
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
|
## Add Crontab
|
||||||
if [ -e .crontab ]; then
|
if [ -e .crontab ]; then
|
||||||
echo "Gibt es"
|
echo "Gibt es"
|
||||||
@@ -23,6 +17,14 @@ else:
|
|||||||
touch .crontab
|
touch .crontab
|
||||||
fi
|
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
|
## Install Python
|
||||||
python3 -m pip install virtualenv
|
python3 -m pip install virtualenv
|
||||||
python3 -m virtualenv venv
|
python3 -m virtualenv venv
|
||||||
|
|||||||
Reference in New Issue
Block a user