Aufgaben.py 201 B

1234
  1. def run_tasks(tasks):
  2. tasks.repeat.every(10).to(15).seconds.do(tasks.ping)
  3. tasks.repeat.every().hour.do(tasks.status)
  4. tasks.repeat.every().day.at("05:30").do(tasks.batch, "GlobalCube.bat")