Обновить install.sh
This commit is contained in:
parent
583476074c
commit
44cae7487c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue