Run Cron Job Immediately from OSGI Console | Community
Skip to main content
October 16, 2015
Solved

Run Cron Job Immediately from OSGI Console

  • October 16, 2015
  • 1 reply
  • 882 views

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.
Best answer by joerghoh

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
joerghohAccepted solution
Employee
October 16, 2015

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