You are here

public function UltimateCronProgressMemcache::__construct in Ultimate Cron 7.2

Constructor.

Parameters

string $name: Name of job.

float $interval: How often the database should be updated with the progress.

File

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

Class

UltimateCronProgressMemcache
Class for using memcache as storage for progress.

Code

public function __construct($name, $interval = 1) {
  $this->name = $name;
  $this->interval = $interval;
}