NetBatch Manual
Scheduler Planning, Configuration, and
Management
NetBatch Manual—522460-004
3-45
Stopping a Scheduler
To disable event-message generation, use the ALTER SCHEDULER command to
set the EMS attribute to OFF. For more information, see EMS Scheduler Attribute
on page 7-54.
Stopping a Scheduler
NetBatch supervisors can stop (shut down) a scheduler by using either of these
BATCHCOM commands:
This table describes when to use ABORT SCHEDULER and SHUTDOWN
SCHEDULER:
Example
To use the SHUTDOWN SCHEDULER command to stop a scheduler:
> PPD $SCHD
Name Primary Backup Ancestor
$SCHD 0,466 3,270 $C4
> BATCHCOM $SCHD; SHUTDOWN SCHEDULER
Scheduler shutting down
> PPD $SCHD
(Process does not exist)
Using TACL Commands to Stop a Scheduler
The TACL STATUS and STOP commands let you stop processes in a TACL
environment. Although these commands also stop a scheduler, HP recommends
against using them. The commands act on the scheduler only and have no effect on
the processes it controls. After the scheduler stops, the processes remain in an
uncontrolled state.
Recovering From an Unplanned Scheduler Stoppage
An unplanned scheduler stoppage can occur, for example, when someone
inadvertently stops the scheduler with a TACL STOP command. To recover from such
a stoppage:
Command Function
ABORT
SCHEDULER
Stops all executing and suspended processes associated with jobs, then
stops the scheduler.
SHUTDOWN
SCHEDULER
Stops suspended processes associated with jobs, then stops the scheduler
after allowing all executing processes associated with jobs to finish.
If you want to … Then use …
Immediately stop a scheduler and all processes it controls ABORT
SCHEDULER
Stop a scheduler and all processes it controls, but allow processes
that are executing to finish before shutdown takes effect
SHUTDOWN
SCHEDULER