public function Progress::getProgress in Ultimate Cron 8.2
Get job progress.
Parameters
string $job_id: Cron Job id.
Return value
float The progress of this job.
Overrides ProgressInterface::getProgress
File
- src/
Progress/ Progress.php, line 31
Class
Namespace
Drupal\ultimate_cron\ProgressCode
public function getProgress($job_id) {
$value = $this->keyValue
->get($job_id);
return $value;
}