Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Run Cron Job Immediately from OSGI Console

Avatar

Ehemaliges Community-Mitglied

Hi,

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

Thanks,

Punit

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
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

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
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