Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/i/linspector-HEAD/linspector/transactions/HostgroupHostTransaction.py   linspector(Download)
                        if scheduler_job is not None:
                            scheduler_job.misfire_grace_time = 2
                            job.set_job(scheduler_job)
                            self.interface.add_job(job)
        else:

src/l/i/linspector-HEAD/linspector/core/worker.py   linspector(Download)
    def create_job(self, jobs, service, host, hostgroup, core, period, start_date=None, executor=None):
        job = LinspectorJob(service, host, hostgroup.get_members(), core, hostgroup, executor)
        scheduler_job = period.createJob(self.scheduler, job, self.handle_job, start_date=start_date)
        if scheduler_job is not None:
            job.set_job(scheduler_job)