summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-08-26 10:20:55 +0200
committerJoas Schilling <coding@schilljs.com>2019-08-26 10:20:55 +0200
commit9b89baca14d9fb1319cef1f50ef6464da39d0fcc (patch)
treed7fd2d6e63bc11b95b4ccdbcbecf98e644973010 /settings
parent12fd9103604ca1f828d0968dc9567bd902fc4ca4 (diff)
downloadnextcloud-server-9b89baca14d9fb1319cef1f50ef6464da39d0fcc.tar.gz
nextcloud-server-9b89baca14d9fb1319cef1f50ef6464da39d0fcc.zip
Cron should run every 5 mins
So also 10 mins is now an error, so admins check their set up crons Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/settings/admin/server.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/templates/settings/admin/server.php b/settings/templates/settings/admin/server.php
index 3536c05e995..92bf433ca6c 100644
--- a/settings/templates/settings/admin/server.php
+++ b/settings/templates/settings/admin/server.php
@@ -34,7 +34,7 @@
$formatter = \OC::$server->getDateTimeFormatter();
$absolute_time = $formatter->formatDateTime($_['lastcron'], 'long', 'long');
- if (time() - $_['lastcron'] <= 3600): ?>
+ if (time() - $_['lastcron'] <= 600): ?>
<span class="status success"></span>
<span class="crondate" title="<?php p($absolute_time);?>">
<?php p($l->t("Last job ran %s.", [$relative_time]));?>
@@ -72,7 +72,7 @@
print_unescaped('checked="checked"');
} ?>>
<label for="backgroundjobs_webcron">Webcron</label><br/>
- <em><?php p($l->t("cron.php is registered at a webcron service to call cron.php every 15 minutes over HTTP.")); ?></em>
+ <em><?php p($l->t("cron.php is registered at a webcron service to call cron.php every 5 minutes over HTTP.")); ?></em>
</p>
<p>
<input type="radio" name="mode" value="cron" class="radio"
@@ -83,7 +83,7 @@
print_unescaped('disabled');
}?>>
<label for="backgroundjobs_cron">Cron</label><br/>
- <em><?php p($l->t("Use system cron service to call the cron.php file every 15 minutes.")); ?>
+ <em><?php p($l->t("Use system cron service to call the cron.php file every 5 minutes.")); ?>
<?php if($_['cli_based_cron_possible']) {
p($l->t('The cron.php needs to be executed by the system user "%s".', [$_['cli_based_cron_user']]));
} else {