[TYPO3-english] Scheduler: uptime instead of cron job?

Philipp Gampe typo3.lists at philippgampe.info
Wed Jan 11 22:56:51 CET 2012


Hi Dennis,

Dennis Hoffland wrote:
 
> When I replace my_own_test.php by cli-dispatch.phpsh, I get:
> passthru()          : The first argument must be a valid key.
> system()             : The first argument must be a valid key.
> exec()                  : blank page

Correct: You have to call cli_dispatch.phpsh with an argument. In this case 
it is scheduler:

<?php
passthru('env -i /path/to/php /path/to/typo3/cli_dispatch.phpsh scheduler');
?>

BTW: If you provide a wrong key, it will present you with all possible keys, 
e.g.:

Array
(
    [0] => extbase
    [1] => phpunit
    [2] => scheduler
    [3] => lowlevel_refindex
    [4] => lowlevel_cleaner
    [5] => lowlevel_admin
)


Cheers
-- 
Philipp Gampe – PGP-Key 0AD96065



More information about the TYPO3-english mailing list