monicahq/docker

Is the cron executed in the standard Docker image?

Kovah opened this issue · 2 comments

Kovah commented

I recently noticed that Monica sends no reminders. After digging into the docs, all installation methods except Docker mention to run a cron which runs the php artisan schedule:run command. This issue was discussed in #34 but the issue is kinda old and I am not sure if the mentioned supervisor installation method is the recommended way to run the Monica Docker image.
So, is the cron executed in the standard Monica image (monica:latest) or do I have to manually set up a cron which runs the artisan command? 🤔
Unfortunately, there is no mention about the cron anywhere in the Docker documentation.

The cron is not executed by default.
You can run another container that would run the cron, or use something like supervisor. See https://github.com/monicahq/docker/tree/main/.examples/supervisor

Kovah commented

Thanks for the reply. Is this information documented somewhere?