mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #1425] [feature request] manage periodic tasks with single (cron) handler #1131
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jficz on GitHub (Mar 5, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1425
It is common practice for web apps to use single task handler that is configured separately and takes care of all delegated tasks that should be run periodically.
Such handler can have multiple entry points - a local cron/systemd-timer script, API call or a simple URL trigger.
This would simplify OS-level configuration reducing number of crontab entries, in case of external triggers (API, URL) to even none if configured properly - with proper configuration root isn't needed and even dovecot can probably be controlled without special privileges (working on a PoC right now :) ).
@tonioo commented on GitHub (Mar 7, 2018):
@cptMikky Do you have an example of a web app working like this?
@jficz commented on GitHub (Mar 8, 2018):
All of them :) Well, at least pretty much all of which I came around. Off the top of my head: nextCloud, Drupal, Joomla I think, all of the internally developed web apps in my company.
@tonioo commented on GitHub (Mar 9, 2018):
I guess we could integrate something like https://github.com/tivix/django-cron. A more advanced setup would be to integrate rq with rq-scheduler.
@Spitfireap commented on GitHub (Aug 28, 2023):
Modoboa is now migrating to rq ;)