public function UltimateCronLogEntry::finish in Ultimate Cron 7.2
Finish a log and save it if applicable.
File
- ./
ultimate_cron.plugin.inc, line 1439 - Plugin framework for Ultimate Cron.
Class
- UltimateCronLogEntry
- Abstract class for Ultimate Cron log entries.
Code
public function finish() {
if (!$this->finished) {
$this->logger
->unCatchMessages($this);
$this->end_time = microtime(TRUE);
$this->finished = TRUE;
$this
->save();
}
}