schedule work fine for this.
Just leave and this Thread will go backward and disappear in the crowd
import time, datetime import subprocess import schedule def job(): print('Hello world') print(datetime.datetime.utcnow()) # External call example #subprocess.run(['python', 'run_me.py']) schedule.every(1).minutes.do(job) while True: schedule.run_pending() time.sleep(1)
C:\code\home λ python 1_min.py Hello world 2020-02-02 22:09:45.740712 Hello world 2020-02-02 22:10:45.918306 Hello world 2020-02-02 22:11:46.057325 Hello world 2020-02-02 22:12:46.202572
Forelli Wrote:Can someone of the moderators please delete my account and this post too?We do not delete posts or account.
Just leave and this Thread will go backward and disappear in the crowd
![Wink Wink](https://python-forum.io/images/smilies/wink.png)