修复 curl 命令

This commit is contained in:
CallMeR
2023-12-11 01:12:27 +08:00
parent e0c69c3fa5
commit 8b35afeec5
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1,14 +1,14 @@
# This configuration file is customized by fox,
# Optimize SmartDNS crontab for local DNS server.
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 6 * * * /usr/bin/curl --retry 5 --retry-connrefused --retry-delay 5 --retry-max-time 60 -Lso /etc/smartdns.d/anti-ad-smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
30 6 * * * /usr/bin/systemctl restart smartdns.service
## Or when the smartdns plugin is installed
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 6 * * * /usr/bin/curl --retry 5 --retry-connrefused --retry-delay 5 --retry-max-time 60 -Lso /etc/smartdns.d/anti-ad-smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
30 6 * * * /usr/bin/bash /opt/smartdns_plugin.sh