diff --git a/lib/Command/RecoveryWarningNotificationCommand.php b/lib/Command/RecoveryWarningNotificationCommand.php index ccc22e5eb7218d31407afa2c1b124d80b814e374..94e54fe6e4a2d7e82c7adacdf1908dffb46910d6 100644 --- a/lib/Command/RecoveryWarningNotificationCommand.php +++ b/lib/Command/RecoveryWarningNotificationCommand.php @@ -97,6 +97,11 @@ class RecoveryWarningNotificationCommand extends Command { } protected function execute(InputInterface $input, OutputInterface $output): int { + // Align execution time limit with cron.php so large batches can finish + if (strpos((string)@ini_get('disable_functions'), 'set_time_limit') === false) { + @set_time_limit(0); + } + $overallStart = microtime(true); $startTime = date('Y-m-d H:i:s');