System_ProcWatch::daemon()

System_ProcWatch::daemon() -- Run in daemon mode

Synopsis

void System_ProcWatch::daemon (int $interval [, string $ps_args = 'aux'])

Description

Runs System_ProcWatch in daemon mode with the defined interval of seconds to sleep.

Parameter

integer $interval

seconds to sleep

string $ps_args

ps' arguments

Throws

Throws no exception.

Note

This function can not be called statically.