[TYPO3-dev] Scheduler task and timeout
Benjamin Beck
beck at beck-digitale-medien.de
Wed Jun 3 10:40:39 CEST 2015
Hello Jérôme,
a script will always be aborted if it exceeds max_execution_time.
But max_execution_time can be changed - even at runtime:
http://www.thecave.info/override-the-default-php-execution-timeout-limit/
It is important to know that PHP uses two configurations: One for CLI and one for apache.
By default the max_execution_time for CLI is 0, which means unlimited.
This explains why you had no problems executing the script from cli.
Greetings
Benjamin
> On 03.06.2015, at 10:19, Jérôme BLUM <jblum66 at gmail.com> wrote:
>
> 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
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list