Scheduling tasks 

The Activities, Communities, Files, Forums, News, Search, and Wikis applications use the IBM WAS scheduling service for performing regular tasks.

The scheduling service allows you to reliably process workloads using parallel processing, and to schedule resource-intensive tasks during off-peak hours when there is low traffic. For more information about the WAS scheduling service, see the WAS Information Center at: http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/welc6tech_sch.html

You can use wsadmin commands to change the schedule by which a task runs or to disable a scheduled task altogether.

The WAS scheduling service is based on the Cron calendar, which uses predefined date algorithms to determine when a task should run. IBM Connections tasks are configured by default to run on a certain schedule. You can change the time at which the scheduled tasks run using wsadmin commands to edit the configuration files for the associated application. Cron schedule values use the following syntax:

second minute hourOfDay DayOfMonth Month DayOfWeek

Specify an asterisk (*) to indicate that you want to select all options. For example, if you specify * as the value of the DayOfWeek parameter, the task runs every day of the week. Specify 0 as the value of the parameter that represents the number of seconds because that parameter is ignored.

For example, specifying 0 30 3 ? * * instructs the task to run daily at 3:30 a.m. Specifying 0 30 2 ? * SUN instructs the task to run on Sunday mornings at 2:30 a.m. For more information on the Cron calendar, see the WAS Information Center at: http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.javadoc.doc/web/apidocs/com/ibm/websphere/scheduler/UserCalendar.html  Examples of scheduler values
Use the examples provided here to construct your own Cron calendar scheduler values or copy and paste these values into your wsadmin commands to reuse them.

*/30 * * * * ?

0 */5 * * * ?

0 0 * * * ?

0 0 * ? * *

0 50 * * * ?

0 15 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 1,2,3,4,5,6,7,8,9,10,11,12 ?

0 0 0-22/2 * *

0 0 4/5 * * ?

0 0 0,8,16 * * ?

0 0 11 * * ?

0 0 0 * * ?

0 0 2 ? * *

0 0 12 ? * MON,TUE,WED,THU,FRI

0 0 23 ? * 2-6

0 0 21 ? * 2-6/2

0 30 18 ? * SAT,SUN

0 0 2 ? * SUN

0 0 23 ? * SAT

0 0 * 1 * ?

0 1 0 L * ?

0 59 23 L * ?

0 0 22 1 * ?

0 45 15 2 1,4,7,10 ?

0 45 15 2 */3 ?

0 45 15 2 1 ? | 0 45 15 2 4 ? | 0 45 15 2 7 ? | 0 45 15 2 10 ?

0 30 3 1 1,7 ?

0 30 3 2 1 ? | 0 30 3 1 7 ?

0 0 0 4 7 ?

0 30 9 4 7 ?

0 45 15 2 1 ?


To disable a scheduled task, use wsadmin commands.


Parent topic

Administer applications

Related concepts
Manage the Search index

Related tasks
Configure the widget life-cycle retry schedule
Manage Communities scheduled tasks
Configure news event log clean-up
Add scheduled tasks for Search
Completing activities that are not being used
Emptying the Activities trash on a schedule
Scheduling Activities statistics collection
Manage Forums scheduled tasks
Retrieve file content

Related reference
Files configuration properties


November 18, 2011 9:57:00 AM
   

 

Nov 18, 2011 9:57:00 AM Trying to fix duplication of link to UserCalendar topic. 4 May 3, 2011 12:06:00 PM 3 May 3, 2011 12:05:56 PM 2 May 2, 2011 4:54:48 PM 1

});