CentraSite Documentation : CentraSite Administrator’s Guide : Basic Operations : Usage of the CentraSite Command Tools : Managing Reports and Scheduled Reports from the Command Line : Updating an Existing Scheduled Report
Updating an Existing Scheduled Report
Use the update Scheduled Report command to modify an existing scheduled report. The report to update is specified by the parameter -scheduledreport. The property values that you want to modify must be provided by an updated configuration file.
Note:  
All property values provided by the configuration file will be overwritten. In case you want to retain the existing property values, you must delete the whole property entry from the configuration file.
The syntax for the command is:
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
-url
(Optional) The URL of the CentraSite registry. Default value is http://localhost:53307.
-user
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.
-scheduledreport
Name or key of the scheduled report to update. If the scheduled report name contains white spaces, enclose the name with "".
-file
Name of the configuration file which contains the scheduled report properties. For additional details, see Scheduled Report Configuration File.
Examples:
Providing scheduled report name:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd update Scheduled Report -url http://localhost:53305/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:53305/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 below. 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>
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback