Task.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<!--
-->

<request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:noNamespaceSchemaLocation="PortalConfig_6.1.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 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>