Implement cron endpoint or script to allow calling scheduled tasks
I am unsure where to classify this issue because it covers a wide range of uses.
Currently, I am managing some Redmine setups over Docker based on the https://github.com/docker-library/redmine image.
Several of these setups, make impossible determining in which node the instance will run or even controlling the service in order to program calls on cron requests in the nodes to perform scheduled tasks in the instances.
Things such as reminders don't work with this setup and, even when I performed a workaround (https://github.com/docker-library/redmine/issues/64#issuecomment-1303047095), this is not ideal for high availability, as it would finish running several
cron instances duplicating the issue and further complexity would be added beyond reasonable to fix that with yet another workaround.
- Via AJAX while loading the web interface
- Via external http call using some custom service such as easyCron or your own machine to an endpoint
cronin the same machine
So, given this situation, I am suggesting to implement some kind of endpoint to call and execute scheduled tasks via external http calls.
Updated by Echedey López Romero about 2 months ago
Additionally, this approach could also work on Hostings services (these were you don't have permission to access the underlaying machine).
Updated by Go MAEDA about 2 months ago
- Category set to REST API