CRMEB v4 開啟定時任務(wù)

2022-04-08 11:59 更新

開啟定時任務(wù)方法

在自動收貨,庫存預(yù)警等功能使用到

一、Linux寶塔面板和Linux命令行

進入終端 執(zhí)行啟動或重啟命令

二、windows下開啟定時任務(wù)

在項目根目錄中按住 shift 鼠標右鍵 在此處打開 powershell 窗口 執(zhí)行啟動命令 并保持窗口不要關(guān)閉

命令說明:

php think timer [ status ] [ --d ]參數(shù)

  • status: 狀態(tài)
  • start: 啟動
  • stop: 關(guān)閉
  • restart: 重啟
  • --d : 后臺執(zhí)行 例如:
  • php think timer start —d 啟動命令
  • php think timer restart —d 重啟命令
  • php think timer stop —d 停止命令
以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號