CreateScheduleHoliday

Scope

Intended Audience
All X
CommVault Internal  
CE/System Test  
Development  

Platform

  • CommServer (Database: CommServ)

Release

  • 9.0.0

Description

Script to create Schedule holiday


qoperation execscript -sn createscheduleholiday -si ClientName/commserve -si Startdate -si Enddate -si Yearly


Where (ClientName/commserve) would be 'NameOfClient' for client name OR 'commserve'


StartDate Format is MM-DD-YYYY


EndDate Optional parameter, format is MM-DD-YYYY


Yearly Optional parameter, true/false


Example:


To create a schedule holiday for client 'ClientName' on 10th April 2012. This will create a schedule holiday for 1 day on client 'ClientName'.


qoperation execscript -sn createscheduleholiday -si 'ClientName' -si '04-10-2012'



To create a schedule holoday for client 'ClientName' on 10th April 2012 to 12th April 2012. This will create a schedule holiday for 3 days on client 'Client Name'.


qoperation execscript -sn createscheduleholiday -si 'ClientName' -si '04-10-2012' -si '04-12-2012'



To create a yearly schedule holiday for client 'ClientName' on 10th April 2012.


qoperation execscript -sn createscheduleholiday -si 'ClientName' -si '04-10-2012' -si true



To create a schedule holiday for client 'ClientName' on 10th April 2012 on a commserve.


qoperation execscript -sn createscheduleholiday -si 'commserve' -si '04-10-2012'


  • GUI will show schedule holiday on successful creation from commandline.
     
  • Usage

    qoperation execscript -sn createscheduleholiday -si ClientName/commserve -si Startdate -si Enddate -si Yearly


    Where (ClientName/commserve) would be 'NameOfClient' for client name OR 'commserve'


    StartDate Format is MM-DD-YYYY


    EndDate Optional parameter, format is MM-DD-YYYY


    Yearly Optional parameter, true/false


    Example:


    qoperation execscript -sn createscheduleholiday -si 'ClientName' -si '04-10-2012'


    qoperation execscript -sn createscheduleholiday -si 'ClientName' -si '04-10-2012' -si '04-11-2012'


    qoperation execscript -sn createscheduleholiday -si 'ClientName' -si '04-10-2012' -si '04-11-2012' -si false


  • script_name: createscheduleholiday
     
  • Create Schedule holiday
     
  • Version


  •  
  • Disclaimer of Warranties

    CommVault provides software tools and utilities on an "as is" basis, as a courtesy and convenience to its users, and they may be changed from time to time without notice. These tools and utilities are provided without express, implied, or statutory warranties of any kind. You assume full risk and responsibility for the selection, possession, performance and proper installation and use of the software tools and utilities, and for verifying the results obtained there from. Your use of CommVault software tools and utilities indicates your unconditional acceptance of the above disclaimer.