xmlaccess/xml/Task.xml

66 lines
2.1 KiB
XML
Raw Normal View History

2020-07-12 12:30:37 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
=================================================================
* Licensed Materials - Property of IBM
* (c) Copyright IBM Corp. 2005, 2006. All rights reserved.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM
* Corp.
*
* DISCLAIMER OF WARRANTIES. The following [enclosed] code is
* sample code created by IBM Corporation. This sample code is
* not part of any standard or IBM product and is provided to you
* solely for the purpose of assisting you in the development of
* your applications. The code is provided "AS IS", without
* warranty of any kind. IBM shall not be liable for any damages
* arising out of your use of the sample code, even if they have
* been advised of the possibility of such damages.
*
=================================================================
-->
<request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd">
<portal action="locate">
<!-- This sample creates a scheduler task in the Application Server that will be running
at the specified date/time.
You can create multiple "run once" tasks but only one single task that is regularly
scheduled. You cannot create a monthly and a weekly task.
So please uncomment one of the following task definitions that best match your needs.
The "run once" task is enabled by default.
-->
<!-- Runs once, starts immediately -->
<task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup"/>
<!-- Runs daily at 12:30
<task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup">
<startTime>12:30</startTime>
</task>
-->
<!-- Runs monthly, at the latest time possible
<task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup">
<dayOfMonth>31</dayOfMonth>
<startTime>23:59</startTime>
</task>
-->
<!-- Runs weekly, on early Friday morning
<task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup">
<dayOfWeek>5</dayOfWeek>
<startTime>7:00</startTime>
</task>
-->
</portal>
</request>