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

feat(timed-events): add cron based timed events #21

Merged
merged 6 commits into from
Jan 5, 2025

Conversation

Yoronex
Copy link
Member

@Yoronex Yoronex commented Jan 4, 2025

Description

Replaces the old hardcoded cron jobs with a new cron based timed events system. Using a cron expression, certain types of events can now be scheduled dynamically using CRUD endpoints. The cron-manager keeps track of these cron jobs. Optionally, a timed event can be skipped once (for example, when Hubble is by exception extending its opening times).

Currently, admins can schedule the following types of events:

  • Resetting Aurora to its initial state.
  • Removing expired audit logs.
  • Changing an audio's handler.
  • Changing a lights group's handler.
  • Changing a screen's handler.

Related issues/external references

Types of changes

  • New feature (non-breaking change which adds functionality)

@Yoronex Yoronex changed the base branch from master to develop January 4, 2025 18:19
@Yoronex Yoronex merged commit e37622e into develop Jan 5, 2025
2 checks passed
@Yoronex Yoronex deleted the feature/timed-events branch January 5, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant