Sequential scheduling of jobs | Community
Skip to main content
cqlearner
Level 2
October 16, 2015
Solved

Sequential scheduling of jobs

  • October 16, 2015
  • 2 replies
  • 778 views

Hi experts,

I have several jobs in my system that runs at specific period of time define in OSGI config. But what I really want is add dependency between these jobs. In other words, I want job 2 to wait until job 1 is finished, job 3 to wait on job 4 and so on.  I tried couple of experiments with "canRunConcurrently", but it seems that it only applied to same job name and instance. 

Any pointers will be greatly appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

How strict is the requirement to run these jobs at specific times? If it's possible to run them one after the other you should use a workflow. If you have strict requirements regarding starting time of the job and the dependencies, you probably have to implement it on your own. I don't see any possile ootb feature.

kind regards,
Jörg

2 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

How strict is the requirement to run these jobs at specific times? If it's possible to run them one after the other you should use a workflow. If you have strict requirements regarding starting time of the job and the dependencies, you probably have to implement it on your own. I don't see any possile ootb feature.

kind regards,
Jörg

WhoaShekhar
Level 10
October 16, 2015

Hi there,

Thanks for reaching out to Adobe Community.

Please go through the below community article and see if it helps:

Scheduling Adobe Experience Manager Jobs using Apache Sling

Thanks!