private function allowRun($force, Enlight_Components_Cron_Job
$job) { if ($force === true
) { return true;
} /** @var Zend_Date $nextRun */
$nextRun =
$job->
getNext();
$nextRun =
new DateTime($nextRun->
getIso());
return $nextRun <=
new DateTime();
} /**
* Tries to resolve a string to a cronjob action name.
* This is necessary since Shopware currently renames
* a cronjob action after first run when it is in a
* unknown format
*
* @param string $action
*
* @throws RuntimeException
*
* @return Enlight_Components_Cron_Job
*/