2023-08-17 21:24:26 +05:00
|
|
|
#!/bin/bash
|
2023-08-17 23:07:30 +05:00
|
|
|
apt update -y
|
|
|
|
apt upgrade -y
|
2023-08-17 23:23:34 +05:00
|
|
|
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 -
|
2023-08-17 23:20:54 +05:00
|
|
|
systemctl restart cron
|
2023-08-17 23:07:30 +05:00
|
|
|
echo "Создана задача:"
|
|
|
|
crontab -l
|
2023-08-17 22:54:58 +05:00
|
|
|
echo "Установка завершена"
|