Skip to content

alganet/Daemon_deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

Respect\Daemon is PHP component to create and manage deamons using OS specific tools.

Sample Usage (not working yet)

use Respect\Daemon;
use Respect\Deamon\Manager as d; 
$d = d::getInstance();
$d->all(); //list all jobs
$mongodb = $d->get("mongodb"); //get single job
$d->start($mongodb);
$d->status($mongodb);
$d->stop($mongodb);
$d->remove($mongodb); //remove from operating system
$myd = new Deamon\Job("myd");
$myd->setMain('/usr/bin/my/path');
$d->save($myd); //save job to operating system
$d->start($myd);

Linux

Manages upstart (http://upstart.ubuntu.com) scripts and cron jobs.

Windows

Manager windows services using the Windows Service Management API (through the win32service PECL extension).

About

Library for managing daemon systems using PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages