grr/server/grr_response_server/db.py
def ReadCronJob(self, cronjob_id):
    """Reads a cronjob from the database.

    Args:
      cronjob_id: The id of the cron job to read.

    Returns:
      A list of cronjobs.CronJob objects.

    Raises:
      UnknownCronJobError: A cron job with the given id does not exist.
    """
    return self.ReadCronJobs(cronjob_ids=[cronjob_id])[0]
Reads a cronjob from the database.

    Args:
      cronjob_id: The id of the cron job to read.

    Returns:
      A list of cronjobs.CronJob objects.

    Raises:
      UnknownCronJobError: A cron job with the given id does not exist.
    
Reads a cronjob from the database.
Reads a cronjob from the database .
def ReadCronJob(self, cronjob_id):
    return self.ReadCronJobs(cronjob_ids=[cronjob_id])[0]
def ReadCronJob ( self , cronjob_id ) : return self . ReadCronJobs ( cronjob_ids = [ cronjob_id ] ) [ 0 ]
Reads a cronjob from the database.
Reads a cronjob from the database .
"""Reads a cronjob from the database.

    Args:
      cronjob_id: The id of the cron job to read.

    Returns:
      A list of cronjobs.CronJob objects.

    Raises:
      UnknownCronJobError: A cron job with the given id does not exist.
    """
A list of cronjobs.CronJob objects.
A list of cronjobs . CronJob objects .
A cron job with the given id does not exist.
A cron job with the given id does not exist .
UnknownCronJobError
self
cronjob_id
The id of the cron job to read.
The id of the cron job to read .