Monday, October 17, 2011

CMAF1. Common Scheduler

If you have 1000 interfaces which have different time schedule respectively, what's your solution in JCAPS?
·        Expose 1000 JCAPS Schedulers per each Interface
·        Use Unix Cron for Scheduling with 1000 registration
·        Use the commercial Job Scheduler
·        Other options which I don’t know.
Here is a good solution which you can use in JCAPS as a part of Collaboration Service. If you are familiar with Unix Crontab, you will quickly understand how to configure it. Whenever you add/update/delete the record in the table, you don’t need to redeploy or stop this JCAPS component.
1. Common Scheduler Characteristics
1.      Support Unix Crontab-like pattern
- * (Start wild character) support
- Multiple-Times Support with Common(,) or –(dash)
2.       With the different identifier, you can set the same interface key multiple times.
3.      In DAY_OF_MONTH column, you can include and exclude the following special day
- Company’s First Business Day of the Month
- Company’s Last Business Day of the Month
- Special Days of the Month for a Interface Key
*** In order to use it, you need to maintain FirstLastBusinessDay.properties file under $JCAPS_COMMON_ROOT/properties/CommonInterface directory.
4.      Enable and Disable the specific Interface key
- If you change ‘ENABLE’ column value to ‘N’, the interface will be disabled. Default is empty or ‘Y’
5.      Whenever you change or update the values, just run Reload Utility against svcCommonScheduler Service.
6.      Weekday : From Sun(0)  to Sat(6)
2. Example
For the more detailed information, refere to the below url document.
CMAF1_Common_Scheduler_For_JCAF.doc

No comments:

Post a Comment