# Docker cron Problem

**URL:** <https://help.nextcloud.com/t/docker-cron-problem/139220>\
**Category:** 🇩🇪 Deutsch (german)\
**Tags:** docker, cron, nc24\
**Created:** [May 18, 2022, 10:24am UTC](https://help.nextcloud.com/t/docker-cron-problem/139220 "2022-05-18T10:24:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [May 18, 2022, 7:42pm UTC](https://help.nextcloud.com/t/docker-cron-problem/139220/2 "2022-05-18T19:42:34Z")

</div>

Ich weiss nicht welches “bekannte Problem” du ansprichst… Mein cron funktioniert schon immer problemlos und wird bei (docker-compose) updates automatisch aktualisiert. Automatische Updates (durch watchtower oÄ) finde ich im server Bereich zu gefählich und daher ein No-Go..

> [@Clarification Regarding Cron Jobs & Setup/Config](https://help.nextcloud.com/t/clarification-regarding-cron-jobs-setup-config/134450/2):
>
> I don’t have detailed answers for all the questions. just see a working solution from my setup: additional cron container has same settings as app container (image, ENV, volumes, DB connection) the only difference is the entrypoint, this is entrypoint: /cron.sh this results in cron.php running with access to files and DB so it can perform background tasks of the instance docker-compose example: dev-nextcloud-cron: image: nextcloud:23.0.1 container\_name: dev-nextcloud-cron res…

---

_[View the full topic](https://help.nextcloud.com/t/docker-cron-problem/139220)._
