Skip to content

Commit 5569ff2

Browse files
committed
Fixed Issue #18
1 parent f807aeb commit 5569ff2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/core/scheduling.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ async def run_scheduled_tasks() -> None:
8888
await check_and_run_birthday_actions(bot, guild)
8989

9090
# Daily maintenance
91-
if current_time_local.hour == 3: # 3am local time is a good time to run daily maintenance since it's a low traffic hour
91+
# 3am local time is a good time to run daily maintenance since it's a low traffic hour
92+
if current_time_local.hour == 3 and current_time_local.minute == 0:
9293
await daily_leveling_maintenance(bot, guild)
9394
await daily_moderation_maintenance(bot, guild)
9495

0 commit comments

Comments
 (0)