lin_ / Post_robot.py
Zelyanoth's picture
Upload 11 files
c9329ee verified
raw
history blame contribute delete
551 Bytes
# import schedule
# import threading
# import time
# import datetime
# from functi import db_manager,add_scheduling,planning
# def background_scheduler():
# while True:
# try:
# schedule.run_pending()
# except Exception as e:
# print("Erreur dans run_pending():", e, flush=True)
# time.sleep(1)
# thread = threading.Thread(target=background_scheduler)
# thread.start()
# print("it actually worked")
# threading.Thread(target=planning, daemon=True).start()