Change Create Windows Task to main.py
parent
7791426e6a
commit
acd5fca551
|
|
@ -14,7 +14,11 @@ git fetch
|
||||||
git pull orgin main
|
git pull orgin main
|
||||||
|
|
||||||
## Add Crontab
|
## Add Crontab
|
||||||
crontab -l | { cat; echo "30 0 * * * /root/REPORTS/setup-info.sh"; } | crontab -
|
if [ -e .crontab ]; then
|
||||||
|
next
|
||||||
|
else:
|
||||||
|
crontab -l | { cat; echo "30 0 * * * /root/REPORTS/setup-info.sh"; } | crontab -
|
||||||
|
touch .crontab
|
||||||
|
|
||||||
## Install Python
|
## Install Python
|
||||||
python3 -m pip install virtualenv
|
python3 -m pip install virtualenv
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue