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

Dennis Hoffland d.o.hoffland at tele2.nl
Wed Jan 11 10:47:01 CET 2012


Hi Philipp,

 

Thanks for your help so far.

 

I have implemented your suggestion and changed the paths to reflect my
configuration.

 

It worked fine when I put a simple test.php file in the typo3/ folder and
used your script to run it.

 

The test.php file contained:

 

<?php

echo 'Success!';

?>

 

And returned the expected result (Success!).

 

However, when I replaced test.php by cli_dispatch.phpsh it failed to trigger
the Scheduler (I had put in an email test task with a 10 second interval
just to check).

 

Looking at t3lib/config_default.php (line 21) I noticed that within Typo3
the .phpsh extension is declared a .php file.

 

However, with your script the .phpsh file isn't called through the Typo3
system but directly. This would suggest to me that the server might not
recognize the .phpsh as a .php file and thus abandon it.

 

Searching for a solution I came across this post, which also points in this
direction:

 

http://youtrack.jetbrains.net/issue/WI-7503

 

Any ideas how to move forward?

 

Thanks in advance.

 

Kind regards,

 

Dennis



More information about the TYPO3-english mailing list