diff --git a/hc/api/management/commands/sendalerts.py b/hc/api/management/commands/sendalerts.py index f17e0b22..ac5e0fdf 100644 --- a/hc/api/management/commands/sendalerts.py +++ b/hc/api/management/commands/sendalerts.py @@ -22,7 +22,7 @@ class Command(BaseCommand): # Gone down? query = Check.objects query = query.filter(alert_after__lt=timezone.now()) - query = query.filter(enabled=True, status="up") + query = query.filter(status="up") for check in query: check.status = "down" check.save()