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.
29
31 qrerun(1B), qsub(1B), and pbs_connect(3B)
32
34 When the batch request generated by pbs_rerunjob() function has been
35 completed successfully by a batch server, the routine will return 0
36 (zero). Otherwise, a non zero error is returned. The error number is
37 also set in pbs_errno.
38
39
40
41
42Local pbs_rerunjob(3B)