Update all headless mode v3

master
joey0629 12 months ago
parent be44f60c62
commit 503afd5852
  1. 4
      main.py

@ -199,9 +199,9 @@ if __name__ == "__main__":
# broadcast_all_pce("February", "february-2024")
print("Start Time:" , datetime.fromtimestamp(time.time()))
schedule.every().day.at("10:43").do(wrapper_function_pce, "February", "february-2024")
schedule.every().day.at("10:44").do(wrapper_function_pce, "February", "february-2024")
while True:
if datetime.now().strftime("%Y-%m-%d %H:%M") == "2024-04-23 10:43":
if datetime.now().strftime("%Y-%m-%d %H:%M") == "2024-04-23 10:44":
schedule.run_pending()
if has_broadcasted:
print("Broadcast completed")

Loading…
Cancel
Save