Skip to content
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

Trigger jobs on a schedule #123

Open
jcpsantiago opened this issue Mar 1, 2024 · 0 comments
Open

Trigger jobs on a schedule #123

jcpsantiago opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jcpsantiago
Copy link
Owner

jcpsantiago commented Mar 1, 2024

As a user I want the backup jobs to happen continuously (following a pre-defined schedule) in the background.

Jobs are stored with a frequency:

  • once does not repeat
  • daily repeats every day at 12 AM UTC
  • weekly repeats every Saturday at 12 AM UTC (end of the work week)
  • monthly repeats on the first day of every month at 12 AM UTC

We need a scheduled task that runs every day and checks which of the conditions above are met, fetch the corresponding jobs from the db and trigger them i.e. send them to the-scribe.

@jcpsantiago jcpsantiago self-assigned this Mar 1, 2024
@jcpsantiago jcpsantiago added the enhancement New feature or request label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant