CentraSite 10.7 | CentraSite User’s Guide | Report Management | Managing Reports and Report Templates through Command Line Interface | Modifying Scheduled Report Details
 
Modifying Scheduled Report Details
Pre-requisites:
To modify the details of an existing report scheduled through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named update Scheduled Report for this purpose.
The scheduled report you want to modify will be specified by the parameter SCHEDULED-REPORT. Any change of the report's property value must be provided using an updated configuration file. All property values provided by the configuration file will be overwritten. To retain an existing property value, you must delete the entire property entry from the configuration file.
*To modify the details of a scheduled report
*Run the command update Scheduled Report.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd update Scheduled Report [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -scheduledreport <SCHEDULED-REPORT> -file <CONFIG-FILE>
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the registered CentraSite user identified by the parameter USER-ID.
SCHEDULED-REPORT
Name or key of the scheduled report to update. If the scheduled report name contains white spaces, enclose the name with "".
CONFIG-FILE
Name of the configuration file which contains the scheduled report properties.
Examples (all in one line):
Providing scheduled report name:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd update Scheduled Report -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage –scheduledreport “Schedule Daily” –file c:\temp\ScheduledReportUpdatedConfig.xml
Providing scheduled report key:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd update Scheduled Report -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage –scheduledreport uddi:b595e05b-8da6-11df-b765-893ca7cd7608 –file c:\temp\ScheduledReportUpdatedConfig.xml
The response to this command could be:
Executing the command : update Scheduled Report

Successfully executed the command : update Scheduled Report
A sample update configuration file is shown.
The sample illustrates how you can change the schedule of an existing scheduled report to execute every 2 weeks on the specified weekdays: monday and friday. All other property values will remain unchanged.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties version="1.0">
<entry key="com.centrasite.scheduledreport.Occurrence">weekly</entry>
<entry key="com.centrasite.scheduledreport.Frequency">2</entry>
<entry key="com.centrasite.scheduledreport.Days">monday,friday</entry>
</properties>