summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderritter88 <derritter88@users.noreply.github.com>2020-12-15 09:32:19 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2020-12-15 16:43:33 +0100
commit95d52a024138b9494c3a4d787ad3ef9ea1554fc4 (patch)
treef45c74c7c4b35fbd52555abf700823a396378859
parent5eae697b04ad4ec508cf0d48761f5ad0eb469009 (diff)
Update README.md
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 <mathias.muehlbacher@hks-projekt.at>
-rw-r--r--docs/faq/README.md12
1 files 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 = <id from above SELECT statement>;
```
-
-* 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.