1

I am using TornadoScheduler of APScheduler python package and trying to get current running jobs.

Job configuration:

...

scheduler = TornadoScheduler()

def job():
    while True:
        print('star')
        sleep(5)
        print('end')

scheduler.add_job(job)

scheduler.start()

...

tornado.ioloop.IOLoop.instance().start()

In other point of software, when try to get running jobs, an empty list is returned:

scheduler.get_jobs() # returns empty list []

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.