import threading
def timer_test():
print ("The timer has done its job!")
tim = threading.Timer(5.0, timer_test)
import schedule
import time
def job():
print("I'm working...")
schedule.every(1).minutes.do(job)
while True:
schedule.run_pending()
time.sleep(1)