workman定时任务+redis任务队列 实现7天自动收货

创建启动文件 thinkphp根目录创建 server.php

创建进程 application/server/controller/Worker.php

业务操作 application/server/controller/Collection.php

DEBUG启动方法:php server.php start
正式上线:php server.php start -d
停止:php server.php stop
重启:php server.php restart
查看状态:php server.php status

正式上线注释掉 所有ajaxReturn开头的代码 防止写workman.log日志造成服务器负担

weinxin
我的微信
把最实用的经验,分享给最需要的读者,希望每一位来访的朋友都能有所收获!
avatar

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

Replies to:1   Visitors  1   Admin  0

    • avatar bjlb
      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ip2country has a deprecated constructor in /www/wwwroot/150643.com/wp-content/themes/begin/show-useragent/ip2c/ip2c.php on line 3
      来自天朝的朋友 谷歌浏览器 Windows 7 广西玉林市 电信
      3

      快递单号网查询 单号购买网www.88danhw.com