-
Notifications
You must be signed in to change notification settings - Fork 13
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
FEAT: add crontab to the docker image, setup default cron jobs. #92
Comments
Hi @bpinsard , Thank you very much for your proposal. How about letting the host (ie. the server running the docker container) take care of the periodic tasks like the librebooking jobs through its own cron or systemd timer mechanism? This way:
What do you think? |
Thanks for the rapid feedback. |
Bonjour @bpinsard , Having said that, I understand that it could be easier to control recurrent jobs within the container instead of controlling them from the host. I will review your changes and maybe propose some changes in order to offer more flexibility (not everyone want to run recurrent jobs and some might run other available jobs you didn’t include). A bientôt. |
Bonjour @bpinsard I reviewed your changes. |
Allo!
I think the docker image could package cron and crontab to allow scheduling the jobs here.
https://github.com/LibreBooking/app/tree/develop/Jobs
Setting up the crontab by default for these tasks could be done in the Dockerfile.
Cheers
The text was updated successfully, but these errors were encountered: