Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-04-06 05:57:54 +00:00
parent 1b5b3bd955
commit b42e6e152d
1 changed files with 1 additions and 1 deletions

2
661.sh
View File

@ -613,7 +613,7 @@ WGCFmenu;S5menu
reswarp(){ reswarp(){
crontab -l > /tmp/crontab.tmp crontab -l > /tmp/crontab.tmp
echo "0 4 * * * systemctl stop warp-go;systemctl restart warp-go;systemctl restart wg-quick@wgcf;systemctl restart warp-svc" >> /tmp/crontab.tmp echo "*/15 * * * * * systemctl stop warp-go;systemctl restart warp-go;systemctl restart wg-quick@wgcf;systemctl restart warp-svc" >> /tmp/crontab.tmp
crontab /tmp/crontab.tmp crontab /tmp/crontab.tmp
rm /tmp/crontab.tmp rm /tmp/crontab.tmp
} }