You are here

protected function Crontab::getSkew in Ultimate Cron 8.2

Get a "unique" skew for a job.

3 calls to Crontab::getSkew()
Crontab::formatLabelVerbose in src/Plugin/ultimate_cron/Scheduler/Crontab.php
Label for schedule.
Crontab::isBehind in src/Plugin/ultimate_cron/Scheduler/Crontab.php
Check if job is behind schedule.
Crontab::isScheduled in src/Plugin/ultimate_cron/Scheduler/Crontab.php
Check job schedule.

File

src/Plugin/ultimate_cron/Scheduler/Crontab.php, line 190

Class

Crontab
Crontab scheduler.

Namespace

Drupal\ultimate_cron\Plugin\ultimate_cron\Scheduler

Code

protected function getSkew(CronJob $job) {
  return $job
    ->getUniqueID() & 0xff;
}