|
eZ Publish
[trunk]
|
Go to the source code of this file.
Functions | |
| childHandler ($signo) | |
| Signal handler. | |
| daemonSignalHandler ($signo) | |
| Signal handler for the daemon process. | |
Variables | |
| $cli = eZCLI::instance() | |
| foreach($pcntlFunctions as $pcntlFunction) | $options |
| $pcntlFunctions = array( 'pcntl_fork', 'pcntl_signal', 'pcntl_waitpid', 'pcntl_wexitstatus' ) | |
| if(!file_exists($pidFileDirectory)) | $pidFp = @fopen( $pidFile, 'x' ) |
| $script | |
| $sys = eZSys::instance() | |
| childHandler | ( | $ | signo | ) |
Signal handler.
| int | $signo | Signal number |
Definition at line 184 of file ezasynchronouspublisher.php.
| daemonSignalHandler | ( | $ | signo | ) |
Signal handler for the daemon process.
| int | $signo | Signal number |
Definition at line 198 of file ezasynchronouspublisher.php.
| $cli = eZCLI::instance() |
Definition at line 16 of file ezasynchronouspublisher.php.
| foreach ($pcntlFunctions as $pcntlFunction) $options |
$script->getOptions( "[n|daemon][p:|pid-file:]", "", array( 'daemon' => 'Run in the background', 'pid-file' => 'PID file' ) )
Definition at line 36 of file ezasynchronouspublisher.php.
| $pcntlFunctions = array( 'pcntl_fork', 'pcntl_signal', 'pcntl_waitpid', 'pcntl_wexitstatus' ) |
Definition at line 25 of file ezasynchronouspublisher.php.
| if (!file_exists($pidFileDirectory)) $pidFp = @fopen( $pidFile, 'x' ) |
Definition at line 70 of file ezasynchronouspublisher.php.
eZScript::instance( array( 'description' => "Processes the eZ Publish publishing queue", 'use-session' => false, 'use-modules' => true, 'use-extensions' => true ) )
Definition at line 18 of file ezasynchronouspublisher.php.
| $sys = eZSys::instance() |
Definition at line 44 of file ezasynchronouspublisher.php.