1. 编辑 crontab
# 编辑$ sudo vim /etc/crontab
2. 添加计划任务
# 添加计划任务29 6 * * * root pgrep clash | xargs kill -s 930 6 * * * root mv /root/clash/config.yaml /root/clash/configbackup.yaml31 6 * * * root wget -P /root/clash/ -O config.yaml [您的Clash订阅链接]32 6 * * * root nohup /root/clash/clash -d /root/clash/

3. 重启任务
# 重启计划任务sudo service cron restart
