src/CronHelper/Service/CronService.php
public function setMaxRunningTime($time)
    {
        if (!is_numeric($time)) {
            throw new \InvalidArgumentException('`maxRunningTime` expects integer value!');
        }

        $this->options['maxRunningTime'] = (int) $time;
        return $this;
    }
public function setMaxRunningTime($time)
    {
        if (!is_numeric($time)) {
            throw new \InvalidArgumentException('`maxRunningTime` expects integer value!');
        }

        $this->options['maxRunningTime'] = (int) $time;
        return $this;
    }
public function setMaxRunningTime ( $ time ) { if ( ! is_numeric ( $ time ) ) { throw new \ InvalidArgumentException ( '`maxRunningTime` expects integer value!' ) ; } $ this -> options [ 'maxRunningTime' ] = ( int ) $ time ; return $ this ; }
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
Set maximal running time ( in minutes ) for the each CRON job .