I have a job in the /system/console/status-slingscheduler.
Job : PIM Menu cache scheduler, class: com.mybrand.SchedulerService, concurrent: false, bundleId: 200 Trigger : Trigger 'DEFAULT.schedular service scheduler': triggerClass: 'org.quartz.impl.triggers.CronTriggerImpl calendar: 'null' misfireInstruction: 0 nextFireTime: Thu October 30 16:22:00 UTC 2022
How do force remove this from the slingscheduler? It's stuck. I tried to change the cron configurations in OSGI / Config Manager, but it did not change the status of what is being shown in /system/console/status-slingscheduler.
Solved! Go to Solution.
Views
Replies
Total Likes
Are you planning to do it permanently?
As @arunpatidar has mentioned if we stop the Scheduler via http://localhost:4502/system/console/components
then the relevant job will be removed from /system/console/status-slingscheduler (tested on my local AEM instance).
But once you redeploy your bundle or restart your bundle then again, this Job will be available.
Hi @SupportMember ,
Not sure if there is a way to remove scheduler. However, two solutions you can consider
Hope that helps!
Regards,
Santosh
Hi,
com.mybrand.SchedulerService is a osgi service, you can unregister this service to terminate existing jobs.
Slingscheduler are not persistent so it must go away once service in unregistered.
you can try stop and start this component from http://localhost:4502/system/console/components
try unregister this service from http://localhost:4502/system/console/components
Are you planning to do it permanently?
As @arunpatidar has mentioned if we stop the Scheduler via http://localhost:4502/system/console/components
then the relevant job will be removed from /system/console/status-slingscheduler (tested on my local AEM instance).
But once you redeploy your bundle or restart your bundle then again, this Job will be available.
Views
Likes
Replies
Views
Likes
Replies