pbs_holdjob(3B)
okay bestie, this is the pbs_holdjob(3B) page from PBS β the one that teaches you how to put a hold on a batch job, no cap. π
β¨
πΈ NAME πΈ
pbs_holdjob β place a hold on a pbs batch job
β¨ SYNOPSIS β¨
#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_holdjob(int connect, char *job_id, char *hold_type,
char *extend)
π DESCRIPTION π
It issues a batch request to place a hold upon a job. Like, it's giving βpause that jobβ energy. π«Ά
A Hold Job batch request is generated and sent to the server over the connection specified by connect, which is the return value of pbs_connect(). Yes, that connect β the one from pbs_connect(). π₯
The argument job_id identifies which job is to be held, and it is specified in the form: sequence_number.server.
The parameter hold_type contains the type of hold to be applied. The possible values are defined in pbs_ifl.h as:
π hold_type values, defined in pbs_ifl.h π
#define USER_HOLD "u"β available to the owner of the job, the batch operator, and the batch administrator. π#define OTHER_HOLD "o"β available to the batch operator and the batch administrator. π¦#define SYSTEM_HOLD "s"β available only to the batch administrator. π
If hold_type is either a null pointer or points to a null string, USER_HOLD will be applied. default behavior slay π
The parameter extend is reserved for implementation defined extensions. that's it, that's the whole extend situation π
π SEE ALSO π
go read qhold(1B), pbs_connect(3B), pbs_alterjob(3B), and pbs_rlsjob(3B) β bestie homework, iykyk πβ¨
π DIAGNOSTICS π
When the batch request generated by pbs_holdjob () function has been completed successfully by a batch server, the routine will return 0 (zero). Otherwise, a non zero error is returned. The error number is also set in pbs_errno. so if it's not 0, check pbs_errno, fr fr π
okay that's the whole page, bestie! footer check: source/version is Local, manual is pbs_holdjob(3B), and this footer has no date, so no invented date from me. byeee π«Άπ
π¦ where this page comes from
- epel 9: torque-devel 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- nixos 26.05: torque 6.1.3h2
- nixpkgs unstable: torque 6.1.3h2
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms