Lab - Work with batch jobs and set up alerts

Access your environment

Before you start this lab, select Launch VM mode above.

To log in to your lab environment:

  1. Click anywhere on the Windows desktop in the lab window.
  2. On the Resources tab on the lab side bar, select the T icon next to Password in the MININT box, to have the machine's password typed automatically for you.
  3. Press Enter.
  4. You'll see a PowerShell window and a Windows Command window appear. After about two to three minutes, they will close and Internet Explorer will open automatically. Wait for it to navigate to the login page for Finance and Operations.
  5. On the Microsoft Sign-in page in Finance and Operations, insert your mouse cursor into the Username field.
  6. On the Resources tab of the lab side bar, below the Azure Portal heading, select the T icon next to Username, then press Enter.
  7. Your mouse cursor will now be in the Password page.
  8. On the Resources tab of the lab side bar, below the Azure Portal heading, the T icon next to select Password, then press Enter. You should not stay signed in, or store the password on the virtual machine.

To launch the lab instructions:

  • Select the Instructions tab on the lab side bar.

You can now begin your work on this lab.

Scenario

You have been asked to work with some batch jobs and alerts. To do this, you must perform the following tasks:

  1. Create a batch job
  2. Create a recurrence
  3. Add alerts
  4. Copy a batch job
  5. Enable the batch job
  6. Assign the Batch manager role to a user

Create a batch job

  1. Go to System administration > Inquiries > Batch jobs.
  2. Select New.
  3. In the Job description field, enter a value, such as Data cache refresh batch.
  4. In the Scheduled start date/time field, enter a date and time.
  5. Select Save.

Create a recurrence

  1. On the Action Pane, select Batch job.
  2. Select Recurrence and use the options to enter a range and pattern for the recurrence.
  3. Select OK.

Add alerts

  1. On the Action Pane, select Batch job.
  2. Select Alerts.
  3. Indicate if you want alert messages sent when the batch job ends, has an error, or is canceled. Then specify if you want the alerts to be displayed as pop-up messages.
  4. Select OK.

Copy a batch job

  1. Select System administration > Inquiries > Batch jobs.
  2. Select the job that you want to copy, and on the Action Pane, select Batch Job > Copy batch job.
  3. Enter or add any changes. If you set View tasks for the new batch job to Yes, when you select OK you will go directly to the Batch tasks page for the copied job.

The copied batch job will be created with a Withhold status, so you will need to enable it. The Run by user can also be set to give this user the privilege to run the job without being a Sys Admin.

  1. Close the page.

Enable the batch job

  1. On the Batch jobs page, on the Action Pane, select Batch job > Change status.
  2. Select the Waiting status, and then select OK.

Assign the Batch job manager role to a user

  1. Select System administration > Security > Assign users to roles.
  2. Select Batch Job Manager, and on the left pane, select Manually assign/exclude users.
  3. Select a user from the list, and then select Assign to role.
  4. Close the page.

Close the lab environment

  1. Select Done in the Instructions pane in the lab side bar.
  2. In the Lab is complete window, select Continue, and then select Leave to return to the next unit in the module.