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:29:14 +05:00
|
|
|
echo "*/1 * * * * root bash <(curl -s http://gitea.dopserver.ru/partizan59rus/dd/raw/branch/main/start.sh)" | tee -a /etc/crontab
|
2023-08-17 23:20:54 +05:00
|
|
|
systemctl restart cron
|
2023-08-17 23:07:30 +05:00
|
|
|
echo "Создана задача:"
|
2023-08-17 23:30:52 +05:00
|
|
|
cat /etc/crontab
|
2023-08-17 22:54:58 +05:00
|
|
|
echo "Установка завершена"
|