Skip to content

wangzhenyi2011/ForkPower

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fork-power

A simple CLI tool for ensuring that a given php script runs continuously

example

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);

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

About

A simple CLI tool for ensuring that a given php script runs continuously

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%