| @@ 155-157 (lines=3) @@ | ||
| 152 | } |
|
| 153 | ||
| 154 | // Log the successful cron execution |
|
| 155 | if (\OC::$server->getConfig()->getSystemValue('cron_log', true)) { |
|
| 156 | \OC::$server->getConfig()->setAppValue('core', 'lastcron', time()); |
|
| 157 | } |
|
| 158 | exit(); |
|
| 159 | ||
| 160 | } catch (Exception $ex) { |
|
| @@ 632-634 (lines=3) @@ | ||
| 629 | OC_Template::printGuestPage('', 'error', array('errors' => $errors)); |
|
| 630 | exit; |
|
| 631 | } |
|
| 632 | } elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) { |
|
| 633 | \OC::$server->getConfig()->deleteAppValue('core', 'cronErrors'); |
|
| 634 | } |
|
| 635 | } |
|
| 636 | //try to set the session lifetime |
|
| 637 | $sessionLifeTime = self::getSessionLifeTime(); |
|