Skip to content

Commit

Permalink
Update routine_tasks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sondregronas authored Jul 14, 2024
1 parent c91be14 commit bce9a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BookingSystem/routine_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def run_mon_to_fri_at_time(job_func, at_time, name):
_prune_inactive = lambda: _task(prune_inactive)

# TODO: Add a setting to change the time of the day these run
run_mon_to_fri_at_time(_send_report, "10:00").tag("Dagsrapport")
run_mon_to_fri_at_time(_send_report, "10:00", name="Dagsrapport")
logger.info("Scheduled send_report to run Mon-Fri at 10:00")
schedule.every().sunday.at("01:00").do(_prune_inactive).tag("Cleanup")
logger.info("Scheduled prune_inactive to run on Sundays at 01:00")
Expand Down

0 comments on commit bce9a7a

Please sign in to comment.