We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d683e98 commit 232aecaCopy full SHA for 232aeca
Nginx-Rtmp/Shell_Nginx_Log_cut.sh
@@ -50,5 +50,7 @@ sudo kill -USR1 $pid
50
#delete 7 days ago nginx log files
51
find $base_path -mindepth 1 -maxdepth 3 -type f -name "*.log" -mmin +$save_mins | xargs rm -rf
52
53
-
+#################### crontab edit 每天凌晨 1:55 执行该脚本 #####################
54
+# 55 1 * * * bash /home/tinywan/shell/nginx_log_cut.sh >/dev/null 2>&1
55
+##############################################################################
56
0 commit comments