1pbs_rerunjob(3B) PBS pbs_rerunjob(3B)
2
3
4
6 pbs_rerunjob - rerun a pbs batch job
7
9 #include <pbs_error.h>
10 #include <pbs_ifl.h>
11
12 int pbs_rerunjob(int connect, char *job_id, char *extend)
13
15 Issue a batch request to rerun a batch job.
16
17 A Rerun Job batch request is generated and sent to the server over the
18 connection specified by connect which is the return value of pbs_con‐
19 nect().
20
21 If the job is marked as being not rerunable, the request will fail and
22 an error will be returned.
23
24 The argument, job_id, identifies which job is to be rerun it is speci‐
25 fied in the form: sequence_number.server
26
27 The parameter, extend, is reserved for implementation defined exten‐
28 sions. As if TORQUE 2.2, the string define RERUNFORCE may be used to
29 force a rerun if the mini-server fails. This is dangerous. Do not
30 used it.
31
33 qrerun(1B), qsub(1B), and pbs_connect(3B)
34
36 When the batch request generated by pbs_rerunjob() function has been
37 completed successfully by a batch server, the routine will return 0
38 (zero). Otherwise, a non zero error is returned. The error number is
39 also set in pbs_errno.
40
41
42
43
44Local pbs_rerunjob(3B)