| Article Number: 503002 || Article Version: 3 || Article Type: How To |
Smarts Network Configuration Manager 9.4,Smarts Network Configuration Manager 9.3
This article explains how to schedule Smarts NCM rotate-backups.pl to run as a scheduled task using Windows Task Scheduler, so that backup images older than 8 days will rotate out without requiring user interaction.
To configure the Smarts NCM backup.pl script to run as a scheduled task using Windows Task Scheduler, do the following:
In the Actions section on the right side of the Windows Task Scheduler tool, click Create Task to launch the Create Task dialog.
- In the General tab of the Create Task dialog shown below, give the task a Name and Description and select the Security options. To ensure that the task runs when no one is logged in, select the "Run whether user is logged on or not" radio button. Also, select the "Run with highest privileges box" to ensure that the task runs.
- Select the Triggers tab and click the New... button to launch the New Trigger dialog as shown below. Set up the schedule according to your requirements.
- Select the Actions tab and click on the New... button to launch the New Action dialog shown below. In the Action field, ensure that "Start a program" is selected. In the Program/script field of the Settings section, provide the path to the rotate-backups.pl script. In the Add arguments field, add the argument of 8.
- Click OK buttons as required to complete the setup of the task.