Add dedicated scheduler daemon #3

Open
opened 2025-02-16 13:40:51 -06:00 by lance · 1 comment
Owner

Thus far cron has been the mechanism by which Rattail tasks are scheduled to run automatically.

But there are some potential benefits of a dedicated Rattail scheduler daemon:

  • can manage/adjust schedule times etc. via web app
  • avoid "dependency" on both cron and at (e.g. for restarting overnight task)
  • common setup regardless of platform

Seems like it probably would be a simple thing to create. Although it also feels like reinventing a wheel, so first need to see what else is out there.

- migrated from https://redmine.rattailproject.org/issues/13 - created 2022-11-22 Thus far `cron` has been the mechanism by which Rattail tasks are scheduled to run automatically. But there are some potential benefits of a dedicated Rattail scheduler daemon: - can manage/adjust schedule times etc. via web app - avoid "dependency" on both `cron` and `at` (e.g. for restarting overnight task) - common setup regardless of platform Seems like it probably would be a simple thing to create. Although it also feels like reinventing a wheel, so first need to see what else is out there.
Author
Owner

Celery seems like an obvious candidate here; downside is that (IIUC) it requires 3 additional services to run:

  • rabbitmq
  • celery
  • celery beat
- migrated from https://redmine.rattailproject.org/issues/13#note-1 - updated 2022-11-23 [Celery](https://docs.celeryq.dev/en/stable/index.html) seems like an obvious candidate here; downside is that (IIUC) it requires 3 additional services to run: - rabbitmq - celery - celery beat
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rattail/rattail#3
No description provided.