Score
0
Watch 3 Star 5 Fork 3

youyiio / beyongxPHP

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Beyongx Cms系统基于ThinkPHP5.1框架的轻量级内容管理系统,适用于企业Cms, 个人站长等,针对移动App、小程序优化;提供完善简洁的项目文档,方便开发人员进行二次开发。支持模块式开发,方便平台扩展及第三方进行二次开发。专注于个人站长、中小企业客户,提供基础平台功能及丰富的应用扩展,支持PC和移动场景,满足企业建站系统、后台管理框架、App后台开发、微信小程序开发、小程序开发框架、小程序API、小程序开发等实际二次开发场景。 spread retract

http://www.beyongx.com

Clone or download
start_queue.sh 491 Bytes
Copy Edit Web IDE Raw Blame History
#!/bin/sh
#at linux, $r variable should be wrapped in ''; because $r is not shell variable in '';
queue=`php -r '$r = (include "config/queue.php");echo $r["default"];'`
delay=2
memory=128
sleep=3
tries=2
timeout=600
pid=`cat start_queue.pid`
echo "kill queue:work pid: $pid"
kill -9 $pid
echo "start $queue"
nohup php think queue:listen --queue $queue --delay $delay --memory $memory --sleep $sleep --tries $tries --timeout $timeout 2>&1 & echo $! > start_queue.pid
ps -aux | grep $queue

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/youyiio/beyongx.git
git@gitee.com:youyiio/beyongx.git
youyiio
beyongx
beyongx
master

Help Search