summaryrefslogtreecommitdiffstats
path: root/src/main-cron-warning.js
blob: 298fa3b614b537ef32662c43ba24f9cec3d48e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Send error to Vuex State for displaying in Vue Application
window.store.commit('SET_ERROR', {
	toString: () => t('news', 'Ajax or webcron mode detected! Your feeds will not be updated!'),
	links: [{
		url: 'https://docs.nextcloud.org/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron',
		text: t('news', 'How to set up the operating system cron'),
	}, {
		url: 'https://github.com/nextcloud/news-updater',
		text: t('news', 'Install and set up a faster parallel updater that uses the News app\'s update API'),
	}],
})