Skip to content

Commit

Permalink
restart more often
Browse files Browse the repository at this point in the history
  • Loading branch information
Tch1b0 committed Dec 23, 2023
1 parent 0bcf770 commit 78b4102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/register_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def update_packages():
if await bot.yesno(question):
exec_sh("apt-get upgrade -y")

@jobs.register(time_in_seconds(days=15), run_initially=False)
@jobs.register(time_in_seconds(days=5), run_initially=False)
# JOB: resend message
async def resend_status_message():
await bot.stop()
Expand Down

0 comments on commit 78b4102

Please sign in to comment.