absszero / unicron
独特的进程标识符
0.1
2016-01-08 07:45 UTC
Requires
- php: >=5.2.1
This package is auto-updated.
Last update: 2024-09-20 00:30:31 UTC
README
独特的进程管理器
通过进程ID管理进程并防止进程重复。
安装
composer require absszero/unicron
使用
use Absszero\Unicron\Unicron; $unicron = new Unicron('YOUR_PROCESS_NAME'); if ($unicron->isRunning()) { $unicron->kill(); } $unicron->setPid();
贡献
- 将它分支出来!
- 创建你的功能分支:
git checkout -b my-new-feature
- 提交你的更改:
git commit -am '添加一些功能'
- 推送到分支:
git push origin my-new-feature
- 提交一个拉取请求 :D
历史
TODO:编写历史
致谢
TODO:编写致谢
许可证
TODO:编写许可证