Schedule scope synchronization using xmlaccess.sh
- Query the current configuration to determine if any scheduled synchronizations have already been defined by running xmlaccess.sh with the following the export file...
<?xml version="1.0" encoding="UTF-8"?> <request type="export" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_7.0.0.xsd" > <portal action="locate"> <task action="export" name="com.ibm.portal.cp.SynchronizationTask"/> </portal> </request>
- Create an XML request document that sets a time for a scheduled synchronization. For example, to schedule a synchronization to occur at 15:36 hours every day, create a file with...
<?xml version="1.0" encoding="UTF-8"?> <request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_7.0.0.xsd"> <portal action="locate"> <task action="create" name="com.ibm.portal.cp.SynchronizationTask"> <startTime>15:36</startTime> </task> </portal> </request>For each scheduled synchronization, create a separate task element and specify the time with a startTime element.
- Run xmlaccess.sh, specifying the file containing the scheduling request.
Scope information for the web content system will then be synchronized automatically according to the schedule you defined.
- To set a minimum time before subsequent synchronizations are performed...
- Log in to the WAS administrative console and click...
Resources -> Resource Environment -> Resource Environment Providers | WP ConfigService | Additional Properties | Custom Properties | New
and set...
tagging.syndication.minimumTagSynchronizationTimeInterval = Number_of_seconds_between_synchronizations
- Click OK, and save the changes to the master configuration.
- Restart the portal.
Parent
Synchronize scopes for web contentRelated information
Set service configuration properties
December 14, 2011
Apr 1, 2011 1:26:17 PM
});