diff --git a/extension/Classes/External/AutoCron.php b/extension/Classes/External/AutoCron.php index 34a695c0a01b7b88cf270139a0303b901d04ac93..39e4a79b26b97985d6c5404425059c0b611b1404 100644 --- a/extension/Classes/External/AutoCron.php +++ b/extension/Classes/External/AutoCron.php @@ -50,6 +50,7 @@ class AutoCron { /** * AutoCron constructor. + * * @param bool $verbose * @param bool $phpUnit * @throws \CodeException @@ -68,6 +69,7 @@ class AutoCron { // set_error_handler("\\IMATHUZH\\Qfq\\Core\\Exception\\ErrorHandler::exception_error_handler"); $this->store = Store::getInstance(); + $this->store->FillStoreSystemBySql(); // Do this after the DB-update // Set Log Mode for AutoCron updates $sqlLogMode = $this->store->getVar(SYSTEM_SQL_LOG_MODE_AUTOCRON, STORE_SYSTEM); @@ -81,7 +83,7 @@ class AutoCron { } /** - * Check if there are started cronJobs, older than $ageMaxMinutes + * Check if there are started cronJobs, older than $ageMaxMinutes. * * @param int $ageMaxMinutes * @@ -102,6 +104,8 @@ class AutoCron { } /** + * Check if $job has expired. If yes, calculate next run and set $job[AUTOCRON_NEXT_RUN]. + * * @param array $job * * @return array @@ -199,6 +203,8 @@ class AutoCron { } /** + * Fill all necessary elements. + * * @param array $mailEntry * * @return array