Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-16 21:55:38 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-08-17 10:45:11 +0300
commit1c38a83927ba318b1ef5115c0fe2fda0cdb5e454 (patch)
tree6d2ce15eb24ffb1debefe5236bb69ce01763a08c /cron.php
parentf0eb882c2e72e1c855ec3ddc0dfe87936babbd76 (diff)
Always log cron execution
There was a setting to disable the last execution of cron. There is no known problem with this write access and it was also questioned when this feature was build in https://github.com/owncloud/core/pull/7689#issuecomment-38264707 Recently there was also a bug report about a non-visible last cron execution (#6088) - let's better remove this. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/cron.php b/cron.php
index 74935db0da9..b7443ef3ce2 100644
--- a/cron.php
+++ b/cron.php
@@ -152,9 +152,7 @@ try {
}
// Log the successful cron execution
- if (\OC::$server->getConfig()->getSystemValue('cron_log', true)) {
- \OC::$server->getConfig()->setAppValue('core', 'lastcron', time());
- }
+ \OC::$server->getConfig()->setAppValue('core', 'lastcron', time());
exit();
} catch (Exception $ex) {