messy-one/daemon
Composer 安装命令:
composer require messy-one/daemon
包简介
Simple PHP daemon which handles tasks
README 文档
README
Simple PHP daemon which handles database tasks
Usage
See example folder. There is an implemantation using Doctrine 2 for persisting and Monolog for logging.
How to run
Just run the daemon.php in a own PHP instance.
I suggest using of a tool for daemonizing approaches. Such a tool could be Supervisor. An example config for Supervisor looks like:
[program:daemon]
command=/usr/bin/php /var/www/myproject/daemon/daemon.php
user=www-data
autostart=true
autorestart=true
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-12-16