public function UltimateCronSerialLauncher::isLocked in Ultimate Cron 7.2
Check if job is locked.
Overrides UltimateCronLauncher::isLocked
File
- plugins/
ultimate_cron/ launcher/ serial.class.php, line 159 - Serial cron job launcher for Ultimate Cron.
Class
- UltimateCronSerialLauncher
- Ultimate Cron launcher plugin class.
Code
public function isLocked($job) {
$class = _ultimate_cron_get_class('lock');
$lock_id = $class::isLocked($job->name);
return $lock_id ? $this->name . '-' . $lock_id : $lock_id;
}