System_Daemon
[ class tree: System_Daemon ] [ index: System_Daemon ] [ all elements ]

File: logparser.php

Source Location: /System_Daemon-1.0.0/examples/logparser.php

Classes:

Page Details:

System_Daemon turns PHP-CLI scripts into daemons.

PHP version 5

Includes:

require_once('System/Daemon.php') [line 64]
System_Daemon Example Code

If you run this code successfully, a daemon will be spawned but unless have already generated the init.d script, you have no real way of killing it yet.

In this case wait 3 runs, which is the maximum for this example.

In panic situations, you can always kill you daemon by typing

killall -9 logparser.php OR: killall -9 php


Documentation generated on Mon, 11 Mar 2019 15:47:43 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.