I'd like to schedule a repeated timed event in python like this: "at time X launch function Y (in a separate thread) and repeat every hour"
"X" is fixed timestamp
The code should be cross-platform, so i'd like to avoid using an external program like "cron" to do this.
code extract:
import threading
threading.Timer(10*60, mail.check_mail).start()
#... SET UP TIMED EVENTS HERE
while(1):
print("please enter command")
try:
command = raw_input()
except:
continue
handle_command(command)
cron? On windows people can use the task scheduler.