mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update 661.sh
This commit is contained in:
parent
1b5b3bd955
commit
b42e6e152d
2
661.sh
2
661.sh
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue