Change Create Windows Task to main.py
This commit is contained in:
+5
-1
@@ -14,7 +14,11 @@ git fetch
|
||||
git pull orgin main
|
||||
|
||||
## 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
|
||||
python3 -m pip install virtualenv
|
||||
|
||||
Reference in New Issue
Block a user