Smarts NCM: How to schedule rotate-backups.pl using Windows Task Scheduler to run as a scheduled task

           

   Article Number:     503002                                   Article Version: 3     Article Type:    How To 
   

 


Product:

 

Smarts Network Configuration Manager 9.4,Smarts Network Configuration Manager 9.3

 

Instructions:

 

 

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.   
   
    User-added image   

         
  1.         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.      
  2.    
   
      User-added image   
   
         
  1.         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.     
  2.    
   
      User-added image   
   
         
  1.         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.     
  2.    
   
      User-added image   
   
         
  1.         Click OK buttons as required to complete the setup of the task.     
  2.