<?php
namespace App\Cron\Job\Utils; abstract class LongRunningCronJobAbstract extends GeneralAbstract { public function __construct() { parent::__construct(); $this->options['dbUpdateInterval'] = 10.0; $this->options['allowMultipleInstances'] = false; $this->options['cronPriority'] = 'low'; $this->options['maxLoad'] = (Float)\App\Config\ServerLoadLimits::getInstance()->get('idle'); } } 