A unique process manager
Managing processes by process ids and prevent duplicating processes.
composer require absszero/unicron
use Absszero\Unicron\Unicron;
$unicron = new Unicron('YOUR_PROCESS_NAME');
if ($unicron->isRunning()) {
$unicron->kill();
}
$unicron->setPid();
- 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
TODO: Write history
TODO: Write credits
TODO: Write license