You are here

protected function UltimateCronCrontabScheduler::getSkew in Ultimate Cron 7.2

Get a "unique" skew for a job.

3 calls to UltimateCronCrontabScheduler::getSkew()
UltimateCronCrontabScheduler::formatLabelVerbose in plugins/ultimate_cron/scheduler/crontab.class.php
Label for schedule.
UltimateCronCrontabScheduler::isBehind in plugins/ultimate_cron/scheduler/crontab.class.php
Determine if job is behind schedule.
UltimateCronCrontabScheduler::isScheduled in plugins/ultimate_cron/scheduler/crontab.class.php
Schedule handler.

File

plugins/ultimate_cron/scheduler/crontab.class.php, line 176
Crontab cron job scheduler for Ultimate Cron.

Class

UltimateCronCrontabScheduler
Crontab scheduler.

Code

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