Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Scheduler example code

Avatar

Level 4

Hi,

    I need a simple scheduler example code through which I should be able to call the other existing class just like Crontrigger job in Quartz api in java.

    Please help.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Level 2

Hi Minisanu,

This example [0] provided by Adobe Consulting Services should do the trick.

Hope that helps,

[0] https://github.com/Adobe-Consulting-Services/acs-aem-samples/blob/master/bundle/src/main/java/com/ad...

Alex

Avatar

Correct answer by
Level 10

Here is a end to end article that creates a scheduler service:

https://helpx.adobe.com/experience-manager/using/aem-first-components1.html

Avatar

Level 4

How can i check whether job is running or active in CQ 5.6?

Please help.

Thanks