absszero / unicron
a unique process identifier
0.1
2016-01-08 07:45 UTC
Requires
- php: >=5.2.1
This package is auto-updated.
Last update: 2024-11-20 00:51:41 UTC
README
A unique process manager
Managing processes by process ids and prevent duplicating processes.
Installation
composer require absszero/unicron
Usage
use Absszero\Unicron\Unicron; $unicron = new Unicron('YOUR_PROCESS_NAME'); if ($unicron->isRunning()) { $unicron->kill(); } $unicron->setPid();
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
TODO: Write history
Credits
TODO: Write credits
License
TODO: Write license