You are here

abstract public function SchedulerBase::isBehind in Ultimate Cron 8.2

Check if job is behind schedule.

Parameters

\Drupal\ultimate_cron\Entity\CronJob $job: The job to check schedule for.

Return value

bool|int FALSE if job is behind its schedule or number of seconds behind.

Overrides SchedulerInterface::isBehind

1 method overrides SchedulerBase::isBehind()
Crontab::isBehind in src/Plugin/ultimate_cron/Scheduler/Crontab.php
Check if job is behind schedule.

File

src/Plugin/ultimate_cron/Scheduler/SchedulerBase.php, line 45

Class

SchedulerBase
Abstract class for Ultimate Cron schedulers

Namespace

Drupal\ultimate_cron\Plugin\ultimate_cron\Scheduler

Code

public abstract function isBehind(CronJob $job);