Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.system('pip install schedule')
- from subprocess import *
- import schedule
- import time
- def auto_run():
- os.system('file.py')
- schedule.every(5).minutes.do(auto_run)
- while 1:
- schedule.run_pending()
- time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement