diff options
author | Brett Weiland <brett_weiland@bpcspace.com> | 2020-11-01 18:50:22 -0600 |
---|---|---|
committer | Brett Weiland <brett_weiland@bpcspace.com> | 2020-11-01 18:50:22 -0600 |
commit | e53dff2db364d4e72c453d235168e2b0e8263d52 (patch) | |
tree | 3238e517ccd75dc2e9a9dd023f9e5c2180df44d1 /post_bot.py | |
parent | cfd882717f1e13c294e2d481a46ca8982c97f05c (diff) |
modified: post_bot.py
Diffstat (limited to 'post_bot.py')
-rwxr-xr-x | post_bot.py | 4 |
1 files 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() |