Run CronAdmin Scope
Note: Ensure you have installed the required package to use this SDK method.
You can pass a Pre-defined or Dynamic cron’s cron ID or name to the runCron() SDK method to instantly execute it. The executed cron will instantly submit a job to the job pool.
The jobScheduling reference used in the code snippets below is the component instance created to perform these operations.
copy
const jobA = await jobScheduling.CRON.runCron('test_cron'); // run cron with cron name
const jobB = await jobScheduling.CRON.runCron('1234567890'); // run cron with cron ID
Last Updated 2026-07-02 14:51:41 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit