public function UltimateCronJob::resumeLog in Ultimate Cron 7.2
Resume a previosly saved log.
Parameters
string $lock_id: The lock id of the log to resume.
Return value
UltimateCronLogEntry The log entry object.
File
- ./
ultimate_cron.job.inc, line 573 - Job class for Ultimate Cron.
Class
- UltimateCronJob
- Class for handling cron jobs.
Code
public function resumeLog($lock_id) {
$logger = $this
->getPlugin('logger');
$log_entry = $logger
->load($this->name, $lock_id);
$log_entry->finished = FALSE;
$logger
->catchMessages($log_entry);
return $log_entry;
}