rerun
Rerun a job.
Synopsis
rerun [jobid=<jobid>[,...]] [since_jobid=<since_jobid>]
[until_jobid=<until_jobid>] [days=<days>] [hours=<hours>] [yes]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Starts earlier jobs again with the parameters they ran with (job, level, client, fileset, pool). Jobs are chosen by JobId, by a JobId range with since_jobid= and until_jobid=, or by a time window with days= and hours=. For every job the Director shows the run summary and asks yes, mod or no; yes on the command line starts all chosen jobs without asking.
since_jobid=, days= and hours= consider only jobs that ended with a fatal error (status f); for days= and hours= the scheduled start time counts, and both values add up. until_jobid= is only valid together with since_jobid=. Before rerunning several jobs found this way the Director lists the JobIds and asks for confirmation.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | string | list | Job ID. | ||
since_jobid= | integer | Rerun failed jobs since this JobId. | |||
until_jobid= | integer | Up to this JobId. | |||
days= | integer | Failed jobs of the last days. | |||
hours= | integer | Failed jobs of the last hours. | |||
yes | keyword | Do not ask. |
Examples
Run job 42 again with its original parameters:
rerun jobid=42
Restart every job that failed during the last day:
rerun days=1 yes
Failed jobs between JobId 100 and 120:
rerun since_jobid=100 until_jobid=120