import schedule
import time
def Schedule():
print(1)
def main():
schedule.every().seconds.do(Schedule)
while True:
schedule.run_pending()
time.sleep(10)
main()
2023-11-14 14:28:46
import schedule
import time
def Schedule():
print(1)
def main():
schedule.every().seconds.do(Schedule)
while True:
schedule.run_pending()
time.sleep(10)
main()