public function UltimateCronLauncher::setProgress in Ultimate Cron 7.2
Default implementation of setProgress().
Parameters
UltimateCronJob $job: Job to set progress for.
float $progress: Progress (0-1).
1 method overrides UltimateCronLauncher::setProgress()
- UltimateCronBackgroundProcessLegacyLauncher::setProgress in plugins/
ultimate_cron/ launcher/ background_process_legacy.class.php - Implementation of setProgress().
File
- ./
ultimate_cron.plugin.inc, line 1143 - Plugin framework for Ultimate Cron.
Class
- UltimateCronLauncher
- Abstract class for Ultimate Cron launchers.
Code
public function setProgress($job, $progress) {
$class = _ultimate_cron_get_class('progress');
return $class::factory($job->name)
->setProgress($progress);
}