You are here

public function JobSchedule::getNext in Job Scheduler 8.3

Returns the job next execution.

Return value

int Timestamp when a job is to be executed.

File

src/Entity/JobSchedule.php, line 241

Class

JobSchedule
Defines the job schedule entity.

Namespace

Drupal\job_scheduler\Entity

Code

public function getNext() {
  return $this
    ->get('next')->value;
}