命令行修正
This commit is contained in:
parent
6507a567d3
commit
5542963183
|
|
@ -8,10 +8,10 @@
|
|||
// 注:日志路径可自定义,确保目录有写入权限(如 ./logs/ 需提前创建)
|
||||
$commands = [
|
||||
// Linux/macOS:用 setsid 脱离终端,输出重定向到单独日志
|
||||
'nohup php webman applysmstemp > ./logs/applysmstemp.log 2>&1 & setsid $!',
|
||||
'nohup php webman birthdaygiftsms > ./logs/birthdaygiftsms.log 2>&1 & setsid $!',
|
||||
'nohup php webman rabborderprint > ./logs/rabborderprint.log 2>&1 & setsid $!',
|
||||
'nohup php webman rabbproductupdate > ./logs/rabbproductupdate.log 2>&1 & setsid $!',
|
||||
'nohup php webman applysmstemp & > ./logs/applysmstemp.log 2>&1 & setsid $!',
|
||||
'nohup php webman birthdaygiftsms & > ./logs/birthdaygiftsms.log 2>&1 & setsid $!',
|
||||
'nohup php webman rabborderprint & > ./logs/rabborderprint.log 2>&1 & setsid $!',
|
||||
'nohup php webman rabbproductupdate & > ./logs/rabbproductupdate.log 2>&1 & setsid $!',
|
||||
|
||||
// 若为 Windows 系统,替换为以下命令(start /b 后台运行,输出重定向)
|
||||
// 'start /b nohup php webman applysmstemp > ./logs/applysmstemp.log 2>&1',
|
||||
|
|
|
|||
Loading…
Reference in New Issue