11.6 Starting, Stopping, Closing, and Deleting Jobs

Use these AppManager command-line scripts to work with existing jobs:

  • STARTJOB.VBS changes the state of the job to running.

  • STOPJOB.VBS changes the state of the job to stopped.

  • CLOSEJOB.VBS changes the status of the job to closed.

  • DELETEJOB.VBS deletes the job.

The following example illustrates the syntax for these scripts:

c:\Program Files\NetIQ\AppManager\bin\netiqcmd.exe closejob.vbs 
/server=srv1 /user=miles /database=qdb /jobid=5

All of these scripts use the following command-line arguments:

Parameter

Description

/USER

Username of the SQL Server login account used to access the AppManager repository.

If using Windows authentication, this parameter is not required.

/PASSWORD

Password for the SQL Server login account.

If using Windows authentication, this parameter is not required.

/SERVER

Windows name of the server where the AppManager repository you want to work with is installed.

The default is the name of the local computer.

Not required if using the default.

/DATABASE

Name of the AppManager repository you want to work with.

The default AppManager repository name is QDB.

Not required if using the default.

/DEBUGGING

Flag to turn on debugging. If set to TRUE, the script displays descriptive information about any SQL errors that occur in a message box.

The default is FALSE.

Not required if using the default.

/JOBID

Identifier for the existing job you want to start, stop, close, or delete. This parameter is required. For example:

/jobid=5