Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-04-06 06:54:58 +00:00
parent c881a91c54
commit 6f7b2753c5
1 changed files with 1 additions and 1 deletions

2
661.sh
View File

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