From 6f5a2e384e936f02f55c5ccc0b560ae387072814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xue=20Xianliang=20=E8=87=AA=E7=94=B1=E7=9A=84=E4=B8=96?= =?UTF-8?q?=E7=95=8C?= <146182012+GFW4Fun@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:03:16 +0330 Subject: [PATCH] Update x-ui-pro.sh --- x-ui-pro.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-ui-pro.sh b/x-ui-pro.sh index f677551..34bb66f 100644 --- a/x-ui-pro.sh +++ b/x-ui-pro.sh @@ -293,7 +293,7 @@ fi ######################cronjob for ssl/reload service/cloudflareips###################################### crontab -l | grep -v "nginx\|certbot\|x-ui\|cloudflareips" | crontab - (crontab -l 2>/dev/null; echo "@daily x-ui restart > /dev/null 2>&1 && systemctl reload tor;") | crontab - -(crontab -l 2>/dev/null; echo "@daily nginx -s reload 2>&1 | grep -q error && $(pkill -9 nginx;nginx -c /etc/nginx/nginx.conf;nginx -s reload);") | crontab - +(crontab -l 2>/dev/null; echo "@daily nginx -s reload 2>&1 | grep -q error && \$(pkill -9 nginx;nginx -c /etc/nginx/nginx.conf;nginx -s reload);") | crontab - (crontab -l 2>/dev/null; echo "@weekly bash /etc/nginx/cloudflareips.sh > /dev/null 2>&1;") | crontab - (crontab -l 2>/dev/null; echo '@monthly certbot renew --nginx --force-renewal --non-interactive --post-hook "nginx -s reload" > /dev/null 2>&1;') | crontab - ##################################Show Details##########################################################