How can I execute a function of a python script every certain hour? This is what I have so far:
import sched
import time
def saludar():
print("hola")
programador = sched.scheduler()
programador.enterabs(time, 1, saludar())
programador.run()
For example, I want it to run, for example, at 3:00 p.m. and 6:00 p.m. after executing the script.