diff --git a/setup-info.sh b/setup-info.sh index 4a87f03..cbbef61 100644 --- a/setup-info.sh +++ b/setup-info.sh @@ -8,13 +8,13 @@ apt update apt install python3-pip git -y ## Add Crontab -if [ -e .crontab ]; then +if [ -f ".crontab" ]; then echo "Gibt es" next else: crontab -l | { cat; echo "30 0 * * * /root/REPORTS/setup-info.sh"; } | crontab - echo "Gibt es nicht" - touch .crontab + touch ".crontab" fi ## Add GIT