Skip to content

Conversation

@andreangelucci
Copy link

@andreangelucci andreangelucci commented Oct 29, 2025

Description

Introduces the DryRunDatabaseScheduler to read Periodic Tasks from the database while operating in dry-run mode.

The dry-run mode is useful for setting up projects with Periodic Tasks stored in the Django database while skipping their execution in development environments lower than production, such as local environments.

The Scheduler class inherits from DatabaseScheduler and overwrites the apply_entry method to log the triggered tasks instead of actually running them.


It fixes the issue #942

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