src/Contracts/BaseJobset.php
protected function getJobsEarliestTryAt()
    {
        $tryAt = date('Y-m-d H:i:s');

        foreach ($this->jobs as $job) {
            if (!$job->isFinished() && Helper::datetimeLT($job->getTryAt(), $tryAt)) {
                $tryAt = $job->getTryAt();
            }
        }

        return $tryAt;
    }
protected function getJobsEarliestTryAt()
    {
        $tryAt = date('Y-m-d H:i:s');

        foreach ($this->jobs as $job) {
            if (!$job->isFinished() && Helper::datetimeLT($job->getTryAt(), $tryAt)) {
                $tryAt = $job->getTryAt();
            }
        }

        return $tryAt;
    }
protected function getJobsEarliestTryAt ( ) { $ tryAt = date ( 'Y-m-d H:i:s' ) ; foreach ( $ this -> jobs as $ job ) { if ( ! $ job -> isFinished ( ) && Helper :: datetimeLT ( $ job -> getTryAt ( ) , $ tryAt ) ) { $ tryAt = $ job -> getTryAt ( ) ; } } return $ tryAt ; }
get the earliest job try at time, except the finished jobs

@return false|mixed|string
get the earliest job try at time except the finished jobs