Create and manage schedules for classroom labs in Azure Lab Services

Schedules allow you to configure a classroom lab such that VMs in the lab automatically start and shut down at a specified time. You can define a one-time schedule or a recurring schedule. The following procedures give you steps to create and manage schedules for a classroom lab:

Important

The scheduled running time of VMs does not count against the quota allotted to a user. The quota is for the time outside of schedule hours that a student spends on VMs.

Set a schedule for the lab

Create a scheduled event for the lab so that VMs in the lab are automatically started/stopped at specific times. The user quota you specified earlier is the additional time assigned to each user outside this scheduled time.

  1. Switch to the Schedules page, and select Add scheduled event on the toolbar.

    Add schedule button on the Schedules page

  2. Confirm that Standard is selected the Event type. You select Start only to specify only the start time for the VMs. You select Stop only to specify only the stop time for the VMs.

  3. In the Repeat section, select the current schedule.

    Add schedule button on the Schedules page

  4. On the Repeat dialog box, do the following steps:

    1. Confirm that every week is set for the Repeat field.

    2. Specify the start date.

    3. Specify the start time at which you want the VMs to be started.

    4. Specify the stop time on which the VMs are to be shut down.

    5. Specify the time zone for the start and stop times you specified.

    6. Select the days on which you want the schedule to take effect. In the following example, Monday-Thursday is selected.

    7. Select Save.

      Set repeat schedule

  5. Now, on the Add scheduled event page, for Notes (optional), enter any description or notes for the schedule.

  6. On the Add scheduled event page, select Save.

    Weekly schedule

View schedules in calendar

You can see the scheduled dates and times highlighted in the calendar view as shown in the following image:

Schedules in the calendar view

Select the Today button in the top-right corner to switch to current date in the calendar. Select left arrow to switch to the previous week and right arrow to switch to the next week in the calendar.

Edit a schedule

When you select a highlighted schedule in the calendar, you see buttons to edit or delete the schedule.

Edit schedule page

On the Edit scheduled event page, you can update the schedule, and select Save.

Delete a schedule

  1. To delete a schedule, select a highlighted schedule in the calendar, and select the trash icon (delete) button:

    Delete button on toolbar

  2. On the Delete scheduled event dialog box, select Yes to confirm the deletion.

Next steps

See the following articles: