Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Run Cron Job Immediately from OSGI Console

Avatar

Former Community Member

Hi,

How can we have a CRON Job to run immediately from OSGI console.

Thanks,

Punit

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Punit,

The OSGI console of CQ doesn't contain such a functionality to start a specific thread with a schedule you can choose freely. The most flexible way would be to expose the functionality you need to execute via REST and the use the cron/scheduler functionality of your operating system to call this URL.

Jörg

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Punit,

The OSGI console of CQ doesn't contain such a functionality to start a specific thread with a schedule you can choose freely. The most flexible way would be to expose the functionality you need to execute via REST and the use the cron/scheduler functionality of your operating system to call this URL.

Jörg