You are here

public function UltimateCronLauncher::initializeProgress in Ultimate Cron 7.2

Default implementation of initializeProgress().

Parameters

UltimateCronJob $job: Job to initialize progress for.

1 method overrides UltimateCronLauncher::initializeProgress()
UltimateCronBackgroundProcessLegacyLauncher::initializeProgress in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Background process version of initializeProgress().

File

./ultimate_cron.plugin.inc, line 1091
Plugin framework for Ultimate Cron.

Class

UltimateCronLauncher
Abstract class for Ultimate Cron launchers.

Code

public function initializeProgress($job) {
  $class = _ultimate_cron_get_class('progress');
  return $class::factory($job->name)
    ->setProgress(FALSE);
}