Skip to main content
Oct 16, 2015 2:27 AM UTC
Solved

Run Cron Job Immediately from OSGI Console

Hi,

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

Thanks,

Punit

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

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

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

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

Translate