management.tasksΒΆ
Asynchronous tasks for management operations.
Module ContentsΒΆ
- management.tasks.execute_all_notifications()[source]ΒΆ
Execute all notification checks sequentially using Django-Q2.
This function is executed by Django-Q2 as a background task. It calls the run_all_notifications management command which runs all notification-related checks in sequence.
After execution, it automatically schedules the next notification check based on the NotificationConfig settings.
- Raises:
CommandError β If any of the notification commands fail.
- Return type:
None