From 95d52a024138b9494c3a4d787ad3ef9ea1554fc4 Mon Sep 17 00:00:00 2001 From: derritter88 Date: Tue, 15 Dec 2020 09:32:19 +0100 Subject: Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated database statement for RSS feeds being not updated - also removed the double "\\" as it's just using a simple "\". Singed-off-by: Mathias Mühlbacher --- docs/faq/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/faq/README.md b/docs/faq/README.md index fd22acd26..b0a0c025e 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -52,16 +52,18 @@ System Cron: * Check if the **oc_jobs** table has a **reserved_at** entry with a value other than 0. If it does for whatever reason, set it to 0. You can check this by executing: ```sql - SELECT reserved_at FROM oc_jobs WHERE (argument = '["OCA\\News\\Cron\\Updater","run"]' OR class = 'OCA\\News\\Cron\\Updater'); + SELECT * from oc_jobs WHERE class LIKE '%News%' ORDER BY id; ``` - and reset it by executing +You will get two rows where column `class`will be `OCA\News\Cron\Updater` and `OCA\News\Cron\UpdaterJob`. + + Reset the `reserved_at` by executing ```sql - UPDATE oc_jobs SET reserved_at = 0 WHERE (argument = '["OCA\\News\\Cron\\Updater","run"]' OR class = 'OCA\\News\\Cron\\Updater'); + UPDATE oc_jobs SET reserved_at = 0 WHERE id = ; ``` - -* If your cron works fine but Nextcloud's cronjobs are never executed, file a bug in [server](https://github.com/nextcloud/server/) + + * If your cron works fine but Nextcloud's cronjobs are never executed, file a bug in [server](https://github.com/nextcloud/server/) [Nextcloud News Updater](https://github.com/nextcloud/news-updater): * Check if your configuration is set to **not** use the system cron. -- cgit v1.2.3