How do I run a function at the start of schedule.run_pending()?

后端 未结 0 531
栀梦
栀梦 2021-01-13 11:06

If I have this method:

def do_something():
    print("something")

And I want it to run every 30 seconds using the schedule library

相关标签:
回答
  • 消灭零回复
提交回复
热议问题