Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the cron executed in the standard Docker image? #114

Closed
Kovah opened this issue Sep 29, 2022 · 2 comments
Closed

Is the cron executed in the standard Docker image? #114

Kovah opened this issue Sep 29, 2022 · 2 comments

Comments

@Kovah
Copy link

Kovah commented Sep 29, 2022

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.

@asbiin
Copy link
Member

asbiin commented Jan 30, 2023

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

@asbiin asbiin closed this as completed Jan 30, 2023
@Kovah
Copy link
Author

Kovah commented Jan 31, 2023

Thanks for the reply. Is this information documented somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants