diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-10-02 19:56:58 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-10-02 19:56:58 +0200 |
commit | fdc65bfa5203648928ea90b99e417a0e7f8cfa78 (patch) | |
tree | 021a0e36a5782eccdd7e48659ff21e13615c32bf | |
parent | c2e4543c27789bc4549b3a66fe769351d4f77001 (diff) |
add hint about reserved_at
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -256,7 +256,15 @@ System Cron: * Check your **data/nextcloud.log** for errors * Check if the cronjob is ever executed by placing an **error_log('updating');** in the [background job file](https://github.com/nextcloud/news/blob/master/cron/updater.php#L28). If the cronjob runs, there should be an updating log statement in your httpd log. * If there is no **updating** statement in your logs check if your cronjob is executed by executing a different script -* If your cron works fine but Nextcloud's cronjobs are never executed, file a bug in [core](https://github.com/nextcloud/core/) +* Check if the **oc_jobs** table has a **reserved_at** with a different value than 0. If it does for whatever reason, set it to 0. You can check this by executing: + + SELECT reserved_at FROM oc_jobs WHERE argument = '["OCA\\News\\Cron\\Updater","run"]'; + + and reset it by executing + + UPDATE oc_jobs SET reserved_at = 0 WHERE argument = '["OCA\\News\\Cron\\Updater","run"]'; + +* 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 the config.ini in **nextcloud/data/news/config/config.ini** contains **useCronUpdates = false** |