Site/Module setup work and auto_format fixes
This commit is contained in:
@@ -60,19 +60,19 @@ class Model_Task extends ORMOSB {
|
||||
$this->date_run = time();
|
||||
$this->running = 0;
|
||||
$this->running_host = NULL;
|
||||
$this->save();
|
||||
|
||||
$tlo->result = 0;
|
||||
$tlo->message = $r->body();
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$tlo->result = $e->getCode();
|
||||
$tlo->message = $e->getMessage();
|
||||
$tlo->message = Kohana_Exception::text($e);
|
||||
|
||||
$this->running = 0;
|
||||
$this->running_host = NULL;
|
||||
$this->save();
|
||||
$this->running = 1;
|
||||
$this->running_host = 'ERROR';
|
||||
}
|
||||
|
||||
$this->save();
|
||||
}
|
||||
|
||||
if ($this->log)
|
||||
|
Reference in New Issue
Block a user