Обновить install.sh

This commit is contained in:
partizan59rus 2023-08-17 18:29:14 +00:00
parent 583476074c
commit 44cae7487c
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
apt update -y apt update -y
apt upgrade -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 systemctl restart cron
echo "Создана задача:" echo "Создана задача:"
crontab -l crontab -l