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:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index 44ca421328b..f8bc78ee8e2 100644
--- a/cron.php
+++ b/cron.php
@@ -119,6 +119,10 @@ try {
// done!
TemporaryCronClass::$sent = true;
+ // Log the successfull cron exec
+ if (OC_Config::getValue('cron_log', true)) {
+ OC_Appconfig::setValue('core', 'lastcron', time());
+ }
exit();
} catch (Exception $ex) {