A simple CLI tool for ensuring that a given php script runs continuously
vim index.php,write
$config = [
"uid"=>"40",
"gid"=>"40",
"runLogPath"=>dirname(__FILE__).DIRECTORY_SEPARATOR."runLog",
];
new ForkPower\ForkPower($config,$argv);vim test.php
sleep(6000); 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