この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
I am following this tutorial on creating a scheduler: https://kiransg.com/2021/11/07/aem-scheduler-best-practices/
In it, it mentioned the interface should have an enabled() field as boolean so the scheduler can be turned off. I was wondering how to turn it off the scheduler? Is there a way to turn it off through the aem portal?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi @aemUser2345 ,
To turn of the scheduler manually, try following the steps below :
1. Got to /system/console/configMgr.
2. Search for your scheduler(from above example it should be "A scheduled task").
3. Open the config and uncheck the field labelled "enabled".
4. That should turn off the scheduler.
I'm attaching a screenshot of a sample scheduler with the enabled field which should be turned off.
Hi @aemUser2345 ,
To turn of the scheduler manually, try following the steps below :
1. Got to /system/console/configMgr.
2. Search for your scheduler(from above example it should be "A scheduled task").
3. Open the config and uncheck the field labelled "enabled".
4. That should turn off the scheduler.
I'm attaching a screenshot of a sample scheduler with the enabled field which should be turned off.
Thanks for the quick reply @VijayChintapalli. Do I need to have this "SimpleScheduledTaskConfig" interface inherit to the scheduler in order for it to show up on this endpoint: /system/console/configMgr?
表示
返信
いいね!の合計
You would need @ObjectClassDefinition annotation for that to show up under /system/console/configMgr.
Thanks,
Vijay
表示
返信
いいね!の合計