Change Create Windows Task to main.py
parent
dfd58acf27
commit
a0d2599961
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue