public function UltimateCronProgress::__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.progress.inc, line 24 - Pseudo namespace for progress functions.
Class
- UltimateCronProgress
- Class for handling Ultimate Cron progress.
Code
public function __construct($name, $interval = 1) {
$this->name = $name;
$this->interval = $interval;
}