[TYPO3-dev] Scheduler task and timeout
Christian Reiter
cr at cNOSPAMxd.de
Wed Jun 3 12:03:54 CEST 2015
Hi Jerome,
as far as I know, CLI scripts usually have unlimited execution time by
default.
That's why TYPO3 suggests using the CLI call for updating reference index ;)
You need to explicitly set your limit for CLI if you want to make sure a
script doesn't run too long.
ini_set() will work for that inside a CLI script or invoke it with
php -d max_execution_time=900 myscript.php
Best regards,
Christian
Am 03.06.2015 um 10:19 schrieb Jérôme BLUM:
> Hi,
> I have create a maintenance script for my website. It is launched by the
> UNIX crontab.
> It's a CLI script in TYPO3 and I would like to make a scheduler task for
> it. But is it possible to do that if its execution time exceeds the PHP
> max_execution_time (PHP 5.4)?
>
> Thanks for your help.
> Jérôme
More information about the TYPO3-dev
mailing list