Scheduling ASL

Although you can use the AutoSendLogs utility to send log files manually, Vocera recommends that you use the Windows Task Scheduler to schedule AutoSendLogs to run once every two days.

To schedule an AutoSendLogs task in Windows:
  1. Open the Windows Administrative Tools Control Panel and choose Task Scheduler.

    The Task Scheduler window opens.

  2. In the menu system, choose Action > Create Task.

    The Create Task window opens.

  3. On the General tab, specify the following options:
    1. In the Name field, enter AutoSendLogs.
    2. Click Change User or Group.
      The Select User or Group dialog box appears.
    3. Use the Object Types control to specify the name of an account with administrative privileges.

      Make sure you select a user account that is local to the server and has a password which does not expire.

    4. After you specify the account name, click OK to close the Select User or Group dialog box.
    5. Select Run whether user is logged on or not.
    6. Select Do not store password.
    7. Select Run with highest privileges.

    When you are finished, the General tab of the Create Task dialog box should look similar to the following:

  4. Navigate to the Triggers tab and set the following options:
    1. Click New at the bottom of the window.

      The New Trigger window opens.

    2. In the Begin the task list, make sure that On a schedule is selected.
    3. Select Daily.
    4. In the Start section, leave the start date as the current date and choose a start time. Choose a time that is least active.
    5. Click OK to close the New Trigger window.
    6. Make sure Enabled is checked.

    Click OK to close the Edit Trigger dialog box. The Triggers tab of the Create Task dialog box should look similar to the following:

  5. Navigate to the Actions tab and set the following options:
    1. Click New at the bottom of the window.

      The New Action window opens.

    2. In the Action list, make sure that Start a program is selected.
    3. Click Browse.
    4. Navigate to %VOCERA_DRIVE%\vocera\jre18\bin and select java.exe.
    5. In the Add arguments field, enter -jar AutoSendLogs.jar -Xmx256 -s.
    6. In the Start in field, enter %VOCERA_DRIVE%\vocera\support\AutoSendLogs\.
    7. Click OK to close the New Action dialog box.

    The Actions tab of the Create Task dialog box should look similar to the following:

  6. Navigate to the Settings tab and set the following options:
    1. In the Stop the task if it runs longer than list, select 2 hours.

    The Settings tab of the Create Task dialog box should look similar to the following:

  7. Click OK to close the Create Task window. Windows saves the task you created.