mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
优化文案描述
This commit is contained in:
+2
-1
@@ -377,10 +377,11 @@ $ sudo crontab -e
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
若使用了 `SmartDNS` 加速规则的安装脚本,由于脚本自带服务重启功能,因此定时任务可为如下配置。
|
若使用了 `SmartDNS` 加速规则的安装脚本,由于脚本自带服务重启功能,因此定时任务可修改如下。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 定时任务配置项
|
## 定时任务配置项
|
||||||
|
|
||||||
20 6 * * * /usr/bin/curl --retry-connrefused --retry 5 --retry-delay 5 --retry-max-time 60 -fsSLR -o /etc/smartdns.d/anti-ad.smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
|
20 6 * * * /usr/bin/curl --retry-connrefused --retry 5 --retry-delay 5 --retry-max-time 60 -fsSLR -o /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
|
30 6 * * * /usr/bin/bash /opt/smartdns_plugin.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user