public function UltimateCronJob::getUniqueID in Ultimate Cron 7.2
Get a "unique" id for a job.
File
- ./
ultimate_cron.job.inc, line 686 - Job class for Ultimate Cron.
Class
- UltimateCronJob
- Class for handling cron jobs.
Code
public function getUniqueID() {
return isset($this->ids[$this->name]) ? $this->ids[$this->name] : ($this->ids[$this->name] = hexdec(substr(sha1($this->name), -8)));
}