Task.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2005, 2006. All rights reserved.
  6. *
  7. * US Government Users Restricted Rights - Use, duplication or
  8. * disclosure restricted by GSA ADP Schedule Contract with IBM
  9. * Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
  12. * sample code created by IBM Corporation. This sample code is
  13. * not part of any standard or IBM product and is provided to you
  14. * solely for the purpose of assisting you in the development of
  15. * your applications. The code is provided "AS IS", without
  16. * warranty of any kind. IBM shall not be liable for any damages
  17. * arising out of your use of the sample code, even if they have
  18. * been advised of the possibility of such damages.
  19. *
  20. =================================================================
  21. -->
  22. <request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  23. xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd">
  24. <portal action="locate">
  25. <!-- This sample creates a scheduler task in the Application Server that will be running
  26. at the specified date/time.
  27. You can create multiple "run once" tasks but only one single task that is regularly
  28. scheduled. You cannot create a monthly and a weekly task.
  29. So please uncomment one of the following task definitions that best match your needs.
  30. The "run once" task is enabled by default.
  31. -->
  32. <!-- Runs once, starts immediately -->
  33. <task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup"/>
  34. <!-- Runs daily at 12:30
  35. <task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup">
  36. <startTime>12:30</startTime>
  37. </task>
  38. -->
  39. <!-- Runs monthly, at the latest time possible
  40. <task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup">
  41. <dayOfMonth>31</dayOfMonth>
  42. <startTime>23:59</startTime>
  43. </task>
  44. -->
  45. <!-- Runs weekly, on early Friday morning
  46. <task action="create" name="com.ibm.portal.datastore.task.ResourceCleanup">
  47. <dayOfWeek>5</dayOfWeek>
  48. <startTime>7:00</startTime>
  49. </task>
  50. -->
  51. </portal>
  52. </request>