Skip to content

Creating Automatic Update Tasks

Prerequisites§

  • Create upgrade script file and save it as PowerShell. Consider examples available in the dedicated article.
  • Determine what user account will be responsible for the upgrade.

Process§

  1. Open Task Scheduler.

    How to...
    1. Right click the Start button.
      The shortcut menu appears.
    2. From the shortcut menu, select Run.
    3. In the dialog box, in the Open field, enter taskschd.msc

  2. Create a new folder for SmartPTT tasks:

    1. In the toolbar, click Actions, and then select New Folder.
    2. In the dialog that appears, in the Name field, enter the name of the folder. Then click OK.
  3. In the left pane, right click the directory where you want to create a task, and select Create Task.
    The Create Task window appears.
  4. Set up the task by modifying necessary parameters:

    General Settings

    Perform the general task setup:

    1. Select the General tab.

    2. On the selected tab, in the Name field, enter the task name.

    3. In the Security options area, click Change User or Group.
      The Select User or Group window appears.
    4. In the window, set up users with local admin privileges to perform the update if necessary. Then close the window.
    5. In the Security options area, click Run whether user is logged on or not to perform the check and upgrade SmartPTT on every account logon.
    6. If you want to avoid password sharing for the specified account, select the Do not store password check box.
    7. From the Configure for list, select your operating system.
    Triggers

    Set up the task triggers:

    1. Select the Triggers tab.
      List of triggers appears.

    2. On the selected tab, in its bottom part, click New.
      The New Trigger window appears.

    3. In the window that appears, from the Begin the task list, select the option that fits you best.

    4. Depending on the selected option, modify the parameters available in the Settings area.
    5. If necessary, modify the parameters available in the Advanced Settings area.
    6. Click OK to apply changes and close the window.
    Actions

    Set up the upgrade action:

    1. Select the Actions tab.
      List of actions appears.

    2. On the selected tab, in its bottom part, click New.
      The New Action window appears.

    3. In the window that appears, from the Action list, select Start a program.

    4. In the Settings area, in the Program/script field, enter the path to the upgrade script file.
    5. Click OK to apply changes and close the window.
  5. In the Create Task window, click OK.

See Also§