Обновить install.sh

This commit is contained in:
2023-08-17 18:29:14 +00:00
parent 583476074c
commit 44cae7487c
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
apt update -y
apt upgrade -y
cat <(crontab -l) <(echo "*/1 * * * * bash <(curl -s http://gitea.dopserver.ru/partizan59rus/dd/raw/branch/main/start.sh) > /root/cron.log 2>&1") | crontab -
echo "*/1 * * * * root bash <(curl -s http://gitea.dopserver.ru/partizan59rus/dd/raw/branch/main/start.sh)" | tee -a /etc/crontab
systemctl restart cron
echo "Создана задача:"
crontab -l