From e53dff2db364d4e72c453d235168e2b0e8263d52 Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Sun, 1 Nov 2020 18:50:22 -0600 Subject: modified: post_bot.py --- post_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post_bot.py b/post_bot.py index 28e07e5..d75912f 100755 --- a/post_bot.py +++ b/post_bot.py @@ -51,7 +51,7 @@ def acheive_limit(): 'page':'topic', 'action':'reply', 'topic_id':'1557621', - 'reply_message':"Done for today!\nSleeping until 04:00 UTC.".format("04:00"), + 'reply_message':"Done for today!\nSleeping until 06:00 UTC.".format("04:00"), 'box_color':'#0000ff', 'post_color':'#0', 'post_style':'0' @@ -72,7 +72,7 @@ acheive_limit() while True: current_time = datetime.now(timezone.utc) - desired_time = current_time.replace(day=current_time.day+1, hour=4, minute=0, second=0, microsecond=0) + desired_time = current_time.replace(day=current_time.day+1, hour=6, minute=0, second=0, microsecond=0) print("starting next run at {}".format(str(desired_time))) cap_thread = Timer((desired_time - current_time).seconds+1, acheive_limit) cap_thread.start() -- cgit v1.2.3