定时任务

windows下开启定时任务

打开命令行

在项目根目录中按住shift 鼠标右键 在此处打开powershell窗口

运行命令

执行启动命令

php think timer start --d

并保持窗口不要关闭

命令说明:

*   php think timer start --d     启动命令

*   php think timer restart --d   重启命令  

*   php think timer stop --d      停止命令
本页目录