int pbs_runjob(int connect, char *job_id, char *location,
int pbs_asyrunjob(int connect, char *job_id, char *location,
Issue a batch request to run a batch job.
pbs_runjob() a "Run Job"
batch request is generated and sent to the server over the connection
which is the return value of pbs_connect().
The server will reply when the job has started execution unless file
in-staging is required. In that case, the server will reply when the
staging operations are started.
pbs_asyrunjob() an "Asynchronous Run Job"
request is generated and set to the server over the connection.
The server will validate the request and reply before initiating the
execution of the job. This version of the call can be used to reduce
latency in scheduling, especially when the scheduler must start a large
number of jobs.
These requests requires that the issuing user have operator or
identifies which job is to be run it is specified in the form:
if not the null pointer or null string, specifies the location where the
job should be run.
The location is the name of a host in the the cluster managed by the server.
If the server does not understand the location, it will reject the request
and return an error.
is reserved for implementation defined extensions.
It is not
currently used by these functions.