public function UltimateCronJob::setProgress in Ultimate Cron 7.2
Set job progress.
Parameters
float $progress: The progress (0 - 1).
File
- ./
ultimate_cron.job.inc, line 656 - Job class for Ultimate Cron.
Class
- UltimateCronJob
- Class for handling cron jobs.
Code
public function setProgress($progress) {
if ($this
->getPlugin('launcher')
->setProgress($this, $progress)) {
$this
->sendMessage('setProgress', array(
'progress' => $progress,
));
return TRUE;
}
return FALSE;
}