library fork-power
A simple CLI tool for ensuring that a given php script runs continuously
zy445566/fork-power
A simple CLI tool for ensuring that a given php script runs continuously
- Friday, February 17, 2017
- by zy445566
- Repository
- 1 Watchers
- 0 Stars
- 2 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
fork-power
A simple CLI tool for ensuring that a given php script runs continuously, (*1)
example
vim index.php,write, (*2)
$config = [
"uid"=>"40",
"gid"=>"40",
"runLogPath"=>dirname(__FILE__).DIRECTORY_SEPARATOR."runLog",
];
new ForkPower\ForkPower($config,$argv);
vim test.php, (*3)
sleep(6000);
start
php index.php start test.php >>test.log
stop
php index.php stop test.php
restart
php index.php restart test.php >>test.log
status(get all phpfile status)
php index.php status
dev-master
9999999-dev
A simple CLI tool for ensuring that a given php script runs continuously
Sources
Download
MIT
The Requires