diff --git a/setup-info.sh b/setup-info.sh index 17eb296..ef6d445 100644 --- a/setup-info.sh +++ b/setup-info.sh @@ -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