Skip to content

Commit

Permalink
Changing weekly reports to run weekly
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 committed Oct 9, 2024
1 parent 830e73d commit 3807743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatch/incident/scheduled.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def incident_close_reminder(db_session: Session, project: Project):
send_incident_close_reminder(incident, db_session)


@scheduler.add(every(1).day.at("18:00"), name="incident-report-weekly")
@scheduler.add(every().monday.at("18:00"), name="incident-report-weekly")
@timer
@scheduled_project_task
def incident_report_weekly(db_session: Session, project: Project):
Expand Down

0 comments on commit 3807743

Please sign in to comment.