-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[RFC] Remove cron from container #253
Comments
I would be against that. |
By default NextCloud uses AJAX Cron anyway. So A lot of certified images are actually working like this. Some examples: |
That I do know.
part, which I strongly disagree, for the aforementioned reasons. |
@J0WI If you add cron to the image it adds about 2MB. Which should not be a big problem for the people who do not use it. |
@tilosp you're right, that fails. But how do you think about the |
I see it as an option. |
Also worth considering: with the current design, |
The current behavior of Cron inside the NextCloud image does not make much sense to me.
In the current example the whole NextCloud container is started in a second instance, that runs Cron.
But I can also use a very lightweight php-cli container and run the PHP command with an additionalsleep
.Since most containers are running on a host system or Kubernetes it's even simpler to create a cronjob or Systemd timer on the host that runs
docker exec -u www-data my-nextcloud php cron.php
.Would you accept a PR to remove Cron from the image and update docs and examples?
The text was updated successfully, but these errors were encountered: