Examples of starting and stopping schedules

Below are examples of how to start and stop schedules.

Function

Command

Requirements

Start the default LPD fil

# schedd start

The default LPD file schedd.lpd must exist in the current directory.

The default PID file schedd.lpd.pid will be created in the current directory by the Scheduler daemon.

Stop the default LPD fil

# schedd stop

Start the specified LPD file without a path

# schedd start -f demo.lpd

or

# schedd stop -p demo.lpd

The specified file demo.lpd must exist in the current directory.

The Scheduler daemon will create the PID file demo.lpd.pid in the current directory.

Stop the specified LPD file without a path

# schedd stop -f demo.lpd

or

# schedd stop -p demo.lpd

To start the specified LPD and specified PID file without path

# schedd start -f demo.lpd -p demo.pid

To stop the specified PID file without path

# schedd stop -p demo.pid

To start the specified LPD file with full path

# schedd start -f /usr/home/demo.lpd

The PID file demo.lpd.pid will be created in the same directory as an LPD file by the Scheduler daemon.

To stop the specified LPD file with full path

# schedd stop -f /usr/home/demo.lpd

To start the specified LPD file and the specified PID file with full path

# schedd start -f /usr/home/demo.lpd -p /usr/home/pids/demo.pid

To stop the specified PID file with full path

# schedd stop -p /usr/home/pids/demo.pid