code: public function setMaxRunningTime($time)
      {
          if (!is_numeric($time)) {
              throw new \InvalidArgumentException('`maxRunningTime` expects integer value!');
          }
  
          $this->options['maxRunningTime'] = (int) $time;
          return $this;
      }
docs: Set maximal running time (in minutes) for the each CRON job.
  
  If 0 than no maximal limit is set or the system is used.
  
  @param integer $time
  @return CronService