You are here

public function UltimateCronProgressMemcache::getProgress in Ultimate Cron 7.2

Get job progress.

Return value

float The progress of this job.

File

./ultimate_cron.memcache-progress.inc, line 54
Pseudo namespace for progress functions.

Class

UltimateCronProgressMemcache
Class for using memcache as storage for progress.

Code

public function getProgress() {
  $name = 'uc-progress:' . $this->name;
  $bin = variable_get('ultimate_cron_progress_memcache_bin', 'progress');
  return dmemcache_get($name, $bin);
}