qrerun man page

qrerun — rerun a pbs batch job


qrerun [-f] job_identifier ...


The qrerun command directs that the specified jobs are to be rerun if possible.

To rerun a job is to terminate the session leader of the job and return the job to the queued state in the execution queue in which the job currently resides.

If a job is marked as not rerunable then the rerun request will fail for that job. If the mini-server running the job is down, or the rejects the request, the Rerun Job batch request will return a failure unless -f is used.

Using -f violates IEEE Batch Processing Services Std and should be handled with great care. It should only be used under exceptional circumstances. Best practice is to fix the problem mini-server host and letting qrerun run normally. The previous nodes may need manual cleaning. See the -r option on the qsub and qalter commands.


The qrerun command accepts one or more job_identifier operands of the form:

Standard Error

The qrerun command will write a diagnostic message to standard error for each error occurrence.

Exit Status

Upon successful processing of all the operands presented to the qrerun command, the exit status will be a value of zero.

If the qrerun command fails to process any operand, the command exits with a value greater than zero.

See Also

qsub(1B), qalter(1B), pbs_alterjob(3B), pbs_rerunjob(3B)