Previous Topic: ca_qmgr - Job Specific CommandsNext Topic: ca_qmgr - Examples


ca_qmgr - Job Script Commands

The ca_qmgr command contains job script commands that allow you to control and use the job scripts.

The ca_qmgr command includes the following job script commands:

ca_qmgr [-cahost <hostname>] [-entiredomain]
-listscripts
-load <job script> [<script owner>]
-addscript <job script>
-removescript <job script> [<script owner>]

-listscripts

Shows available job scripts (in ARCServe_HOME/jobscripts).

A job script is a saved job file that has a .asx extension. Any job can be saved as a job script from the Arcserve Backup Manager GUI.

Example:

ca_qmgr -listscripts
-load <job script> [<script owner>]

Loads and runs a previously saved job script.

To load a script, the script must be present in the Arcserve Backup home directory.

Example:

ca_qmgr -load myscript caroot

Note: X.asx can only be loaded on the Primary Server. If you run ca_qmgr -load X.asx on a Member Server, you will receive an error.

-addscript <job script>

Imports and registers a job script.

Specify a path along with the job script file name. The job script file is copied to the Arcserve Backup home directory from the given path.

Example:

ca_qmgr -addscript C:\myscript.asx
-removescript <job script> [<script owner>]

Removes and de-registers a job script.

The job script file is deleted from the Arcserve Backup home directory.

Example:

ca_qmgr -removescript myscript caroot

More information:

ca_qmgr - Queue Manager Command

ca_qmgr - Examples