Update 661.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-04-06 06:10:31 +00:00
parent b42e6e152d
commit c881a91c54
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 "*/15 * * * * * systemctl stop warp-go;systemctl restart warp-go;systemctl restart wg-quick@wgcf;systemctl restart warp-svc" >> /tmp/crontab.tmp echo "* * * * * 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
} }