I am trying to create a program that can execute on a specific time every day, but I wonder if there's a way to make this program more precise to execute on specific seconds.
import time
import schedule
def func():
print("ok")
schedule.every().day.at("20:55").do(func)
while True:
schedule.run_pending()
time.sleep(1)