/* Copyright 2008 Cluster Resources */ /* pbs_chkptjob.c Send the Checkpoint Job request to the server -- really just an instance of the "manager" request. */ #include /* the master config generated by configure */ #include #include "libpbs.h" int pbs_checkpointjob(int c, char *jobid, char *extend) { if ((jobid == (char *)0) || (*jobid == '\0')) return (pbs_errno = PBSE_IVALREQ); return PBSD_manager(c, PBS_BATCH_CheckpointJob, MGR_CMD_SET, MGR_OBJ_JOB, jobid, NULL, extend); }