Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import schedule
- import time
- import app
- schedule.every(3).seconds.do(app.run)
- while 1:
- try:
- schedule.run_pending()
- except Exception as e:
- print e
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement