summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-11-07 11:01:22 +0100
committerJoas Schilling <coding@schilljs.com>2022-11-07 11:01:22 +0100
commit7730c84e740d6e5393af0900438b8beccd25ede5 (patch)
treeb77a07c1d9c8d2d106da3fea89a5df4645138daf /apps
parent533e1803cf2746c25ce1ead7a3cd02940716458f (diff)
downloadnextcloud-server-7730c84e740d6e5393af0900438b8beccd25ede5.tar.gz
nextcloud-server-7730c84e740d6e5393af0900438b8beccd25ede5.zip
Show the correct warning for system cron vs. webcron/ajax
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/src/components/BasicSettings/BackgroundJob.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/src/components/BasicSettings/BackgroundJob.vue b/apps/settings/src/components/BasicSettings/BackgroundJob.vue
index f4c2e2d149e..d9b8758d5f5 100644
--- a/apps/settings/src/components/BasicSettings/BackgroundJob.vue
+++ b/apps/settings/src/components/BasicSettings/BackgroundJob.vue
@@ -29,11 +29,11 @@
{{ t('settings', 'Last job execution ran {time}. Something seems wrong.', {time: relativeTime}) }}
</NcNoteCard>
- <NcNoteCard v-else-if="longExecutionNotCron" type="warning">
+ <NcNoteCard v-else-if="longExecutionCron" type="warning">
{{ t('settings', "Some jobs have not been executed since {maxAgeRelativeTime}. Please consider increasing the execution frequency.", {maxAgeRelativeTime}) }}
</NcNoteCard>
- <NcNoteCard v-else-if="longExecutionCron" type="warning">
+ <NcNoteCard v-else-if="longExecutionNotCron" type="warning">
{{ t('settings', "Some jobs have not been executed since {maxAgeRelativeTime}. Please consider switching to system cron.", {maxAgeRelativeTime}) }}
</NcNoteCard>