Skip to Content
2
Jul 14, 2016 at 09:36 AM

Cron job requirement - Java scheduler

251 Views

Hi All,

We have a requirement to schedule a job to trigger a BPM using Java scheduler on every Monday and also on the last working day of the month.

Now, I know I can achieve at least the first part of this requirement easily using Cron job definition. Interesting bit is the 2nd part. Looking at the documentation, I don't think this can be achieved using a single instance of schedule:

Scheduling Jobs with Cron Start Conditions - Using Central Development Services - SAP Library

Problem with multiple instance of the schedule would be where there is overlap. Or have I misinterpreted the help documentation?

Another interesting constraint is testing of the last working day requirement(due to short time-frame of development and testing lifecycle) and hence any first hand experience with similar requirement would be really useful.

Or alternately, is there a way of referencing a SAP (ECC) factory calendar using Java scheduler?

Note: I would like to avoid scheduling and triggering interface from ECC system.

Thanks in advance.

Regards,

Sanjeev