Skip to content

Commit

Permalink
target value
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Jan 25, 2025
1 parent 40b8890 commit 7bfaa3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/core/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
logger = structlog.getLogger(__name__)


@db_periodic_task(crontab(minute=str(random.randint(0, 59)), hour="21"))
# @db_periodic_task(crontab(minute='*/1')) for testing
@db_periodic_task(crontab(hour="6"))
def check_controls_with_expired_eta():
expired_controls = (
AppliedControl.objects.exclude(status="active")
Expand Down

0 comments on commit 7bfaa3b

Please sign in to comment.