grr/server/grr_response_server/db.py
def LeaseCronJobs(self, cronjob_ids=None, lease_time=None):
    """Leases all available cron jobs.

    Args:
      cronjob_ids: A list of cronjob ids that should be leased. If None, all
        available cronjobs will be leased.
      lease_time: rdfvalue.Duration indicating how long the lease should be
        valid.

    Returns:
      A list of cronjobs.CronJob objects that were leased.
    """
Leases all available cron jobs.

    Args:
      cronjob_ids: A list of cronjob ids that should be leased. If None, all
        available cronjobs will be leased.
      lease_time: rdfvalue.Duration indicating how long the lease should be
        valid.

    Returns:
      A list of cronjobs.CronJob objects that were leased.
    
Leases all available cron jobs.
Leases all available cron jobs .
def LeaseCronJobs(self, cronjob_ids=None, lease_time=None):
def LeaseCronJobs ( self , cronjob_ids = None , lease_time = None ) :
Leases all available cron jobs.
Leases all available cron jobs .
"""Leases all available cron jobs.

    Args:
      cronjob_ids: A list of cronjob ids that should be leased. If None, all
        available cronjobs will be leased.
      lease_time: rdfvalue.Duration indicating how long the lease should be
        valid.

    Returns:
      A list of cronjobs.CronJob objects that were leased.
    """
A list of cronjobs.CronJob objects that were leased.
A list of cronjobs . CronJob objects that were leased .
self
cronjob_ids
A list of cronjob ids that should be leased. If None, all
available cronjobs will be leased.
A list of cronjob ids that should be leased . If None all available cronjobs will be leased .
lease_time
rdfvalue.Duration indicating how long the lease should be
valid.
rdfvalue . Duration indicating how long the lease should be valid .