统一 crontab 时间

This commit is contained in:
CallMeR
2023-12-10 23:32:46 +08:00
parent 410f6e8d2e
commit e0c69c3fa5
3 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -6,11 +6,11 @@ $ sudo chmod +x /opt/dnsmasq_plugin.sh
## 设置 crontab
15 5 * * * /usr/bin/curl -s -R --retry 5 --retry-connrefused --retry-delay 5 --retry-max-time 60 -o /etc/smartdns.d/anti-ad-smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
20 6 * * * /usr/bin/curl -s -R --retry 5 --retry-connrefused --retry-delay 5 --retry-max-time 60 -o /etc/smartdns.d/anti-ad-smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
20 5 * * * /usr/bin/curl -s -R --retry 5 --retry-connrefused --retry-delay 5 --retry-max-time 60 -o /etc/dnsmasq.d/anti-ad-dnsmasq.conf https://anti-ad.net/anti-ad-for-dnsmasq.conf
25 6 * * * /usr/bin/curl -s -R --retry 5 --retry-connrefused --retry-delay 5 --retry-max-time 60 -o /etc/dnsmasq.d/anti-ad-dnsmasq.conf https://anti-ad.net/anti-ad-for-dnsmasq.conf
25 5 * * * /usr/bin/systemctl restart smartdns.service
30 6 * * * /usr/bin/systemctl restart smartdns.service
30 5 * * * /usr/bin/bash /opt/dnsmasq_plugin.sh
35 6 * * * /usr/bin/bash /opt/dnsmasq_plugin.sh