scripts daemonize themselves

darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
This commit is contained in:
Evan Prodromou
2008-09-04 14:40:31 -04:00
parent 95d9920d78
commit aed0fff4ea
9 changed files with 167 additions and 37 deletions

View File

@@ -71,8 +71,4 @@ $id = ($argc > 1) ? $argv[1] : NULL;
$handler = new OmbQueueHandler($id);
if ($handler->start()) {
$handler->handle_queue();
}
$handler->finish();
$handler->runOnce();