'Returns a list of all scheduled jobs.
:return: list of :class:`~apscheduler.job.Job` objects'

def get_jobs(self):

    self._jobstores_lock.acquire()
    try:
        jobs = []
        for jobstore in itervalues(self._jobstores):
            jobs.extend(jobstore.jobs)
        return jobs
    finally:
        self._jobstores_lock.release()
