Project

General

Profile

Actions

Feature #13

open

Add dedicated scheduler daemon

Added by Lance Edgar almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
11/22/2022
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions #1

Updated by Lance Edgar almost 2 years ago

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

  • rabbitmq
  • celery
  • celery beat
Actions

Also available in: Atom PDF