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