man8/install_batch

Table of Contents

Name

install_batch - create a batch directory and copy a runlist from a holding directory into it

Synopsis

install_batch [vol] [batch_name]

Description

This script creates a batch directory in the location specified by vol and batch_name.

The pathname of the directory to create is formed by $AMS_BASE/vol/batch_name.

The runlist is copied from $AMS_BASE/holding_dir into the newly created directory and erased from the holding directory. The runlist is expected to have the same name as batch_name in the holding directory. It is renamed runlist when it is copied into the batch directory.

install_batch does error checking to ensure the pathname formed by vol and batch_name are valid. It also checks to make sure a runlist can be found in the holding_dir.

After the runlist is copied into the batch directory it is loaded into DMANserv(8) for execution by calling DMANsetup(8) .

install_batch can be customized to meet each sites needs so it is located in the /AccelNET/$CONF/machcmds directory.

Notes

This may be too obvious to say, but don’t do this while cathodes are being measured because the runlist already in progress will be interrupted.

Manual page revision

$Id: install_batch.8,v 1.0 1999/01/08 21:24:59 kitchen Exp $


Table of Contents