grr/server/grr_response_server/db.py
def UpdateCronJob(self,
                    cronjob_id,
                    last_run_status=unchanged,
                    last_run_time=unchanged,
                    current_run_id=unchanged,
                    state=unchanged,
                    forced_run_requested=unchanged):
    """Updates run information for an existing cron job.

    Args:
      cronjob_id: The id of the cron job to update.
      last_run_status: A CronJobRunStatus object.
      last_run_time: The last time a run was started for this cron job.
      current_run_id: The id of the currently active run.
      state: The state dict for stateful cron jobs.
      forced_run_requested: A boolean indicating if a forced run is pending for
        this job.

    Raises:
      UnknownCronJobError: A cron job with the given id does not exist.
    """
Updates run information for an existing cron job.

    Args:
      cronjob_id: The id of the cron job to update.
      last_run_status: A CronJobRunStatus object.
      last_run_time: The last time a run was started for this cron job.
      current_run_id: The id of the currently active run.
      state: The state dict for stateful cron jobs.
      forced_run_requested: A boolean indicating if a forced run is pending for
        this job.

    Raises:
      UnknownCronJobError: A cron job with the given id does not exist.
    
Updates run information for an existing cron job.
Updates run information for an existing cron job .
def UpdateCronJob(self,
                    cronjob_id,
                    last_run_status=unchanged,
                    last_run_time=unchanged,
                    current_run_id=unchanged,
                    state=unchanged,
                    forced_run_requested=unchanged):
def UpdateCronJob ( self , cronjob_id , last_run_status = unchanged , last_run_time = unchanged , current_run_id = unchanged , state = unchanged , forced_run_requested = unchanged ) :
Updates run information for an existing cron job.
Updates run information for an existing cron job .
"""Updates run information for an existing cron job.

    Args:
      cronjob_id: The id of the cron job to update.
      last_run_status: A CronJobRunStatus object.
      last_run_time: The last time a run was started for this cron job.
      current_run_id: The id of the currently active run.
      state: The state dict for stateful cron jobs.
      forced_run_requested: A boolean indicating if a forced run is pending for
        this job.

    Raises:
      UnknownCronJobError: A cron job with the given id does not exist.
    """
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 update.
The id of the cron job to update .
last_run_status
A CronJobRunStatus object.
A CronJobRunStatus object .
last_run_time
The last time a run was started for this cron job.
The last time a run was started for this cron job .
current_run_id
The id of the currently active run.
The id of the currently active run .
state
The state dict for stateful cron jobs.
The state dict for stateful cron jobs .
forced_run_requested
A boolean indicating if a forced run is pending for
this job.
A boolean indicating if a forced run is pending for this job .