def dss_jobs(): sche = JzScheduler() sche.add_interval_job(job_bandwidth,seconds=5) sche.start()
def dss_jobs(id): sche = JzScheduler() sche.add_interval_job(job_bandwidth,seconds=5,args=[id]) sche.start()
def dss_jobsPackage(): logging.error("") sche = JzScheduler() sche.add_interval_job(job_package,minutes=30) sche.start()
def dss_jobsPackage(): logging.error("") sche = JzScheduler() sche.add_interval_job(job_package, minutes=30) sche.start()