fix(timer): 修正定时器参数拼写 quit -> quiet(静默模式)

This commit is contained in:
augushong
2026-06-02 20:09:37 +08:00
parent 288724efc8
commit c4fbd60bbc
6 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ echo "参数为:$@"
if [ "$1" = "server" ] || [ "$1" = "" ]; then
# 运行定时任务 TODO:以指定用户运行
su - www-data -c "nohup php /var/www/html/think timer --local --quit &"
su - www-data -c "nohup php /var/www/html/think timer --local --quiet &"
# 运行nginx
service nginx start
# 运行php-fpm

View File

@@ -52,7 +52,7 @@ echo "参数为:$@"
if [ "$1" = "server" ] || [ "$1" = "" ]; then
# Run timer (background)
su -www-data -c "nohup php /var/www/html/think timer --local --quit &"
su -www-data -c "nohup php /var/www/html/think timer --local --quiet &"
# Run nginx
service nginx start
# Run php-fpm (foreground, keeps container alive)

View File

@@ -31,7 +31,7 @@ echo "参数为:$@"
if [ "$1" = "server" ] || [ "$1" = "" ]; then
# 运行定时任务 TODO:以指定用户运行
su -www-data -c "nohup php /var/www/html/think timer --local --quit &"
su -www-data -c "nohup php /var/www/html/think timer --local --quiet &"
# 运行nginx
service nginx start
# 运行php-fpm

View File

@@ -27,7 +27,7 @@ echo "参数为:$@"
if [ "$1" = "server" ] || [ "$1" = "" ]; then
# 运行定时任务 TODO:以指定用户运行
su - www-data -c "nohup php /var/www/html/think timer --local --quit &"
su - www-data -c "nohup php /var/www/html/think timer --local --quiet &"
# 运行nginx
service nginx start
# 运行php-fpm

View File

@@ -27,7 +27,7 @@ echo "参数为:$@"
if [ "$1" = "server" ] || [ "$1" = "" ]; then
# 运行定时任务 TODO:以指定用户运行
su - www-data -c "nohup php /var/www/html/think timer --local --quit &"
su - www-data -c "nohup php /var/www/html/think timer --local --quiet &"
# 运行nginx
service nginx start
# 运行php-fpm