Saving and Restoring Named Batch Jobs - Intergraph Batch Services - Installation & Upgrade

Intergraph Batch Services Quick Start

Language
English
Product
Intergraph Batch Services
Search by Category
Installation & Upgrade
Smart 3D Version
13.2

A batch job can be saved to a file for later recall, modification, and submission. This is especially useful if you want to set up certain job parameters to be used again and again.

For example, you might have a certain set of people you want to notify whenever a backup runs. You could create a named job that contains the name of your backup script, the queue in which it should run, and the notification list and save it as BACKUP.NJOB. To run a backup job, you would then open the named job using the Job Submit dialog, make any necessary changes (perhaps the start time of the job), and then submit the job. Using this method, you do not have to re-enter the job's parameters each time you want to run the job.

After you have created a named job, you can access it in a variety of ways. Any of the following methods open the named job and fill in the Job Submit dialog with all of its parameters:

  1. Click Open on the Job Submit dialog box, browse for the named job, and click OK.

  2. Drag the named job file from Windows Explorer into the Batch Manager window.

  3. Enter the command batchmgr named_job.NJOB at the command prompt, where named_job is the name of the job file.

  4. Double-click on the named job file in Windows Explorer.

The last two methods will not work if Batch Manager is already active since only one Batch Manager session at a time is allowed.

To create a named job:

  1. Select Job > Submit.

    The Job Submit dialog displays.

  2. Enter the job parameters that you want to save as a named job.

  3. Click Save As to name and save your job.

To recall and submit a previously saved named job:

  1. Select Job > Submit.

    The Job Submit dialog displays.

  2. Click Open to browse for previously saved named jobs.

  3. Choose the named job you want to recall, and click OK.

    Batch Manager loads the saved job parameters into the Job Submit dialog and displays the name of the job in the title of the Job Submit dialog box.

  4. You can submit the job exactly as it was stored in the named job file, or you can make modifications. If you want to save changes you make, click Save to overwrite the existing named job, or click Save As to choose a new name for the modified job.

  5. Click Submit to submit the job.