[
https://issues.apache.org/jira/browse/SLING-3358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093824#comment-14093824
]
Carsten Ziegeler commented on SLING-3358:
-----------------------------------------
The run mode is not intended to be used at runtime by application logic; it's a
provisioning mechanism. Either you put your bundles into the specific run mode
or a configuration which enables the component just on this run mode
> Add support for running scheduled tasks only on instances with a specific
> runmode set
> -------------------------------------------------------------------------------------
>
> Key: SLING-3358
> URL: https://issues.apache.org/jira/browse/SLING-3358
> Project: Sling
> Issue Type: New Feature
> Components: Commons
> Affects Versions: Commons Scheduler 2.4.0
> Reporter: Konrad Windszus
>
> Sometimes scheduled tasks should only be executed on instances having a
> dedicated run mode set. Similar to the scheduler.runOn (SLING-2979), there
> should be an additional property to restrict execution only to the given run
> mode (e.g. scheduler.runOnRunMode).
--
This message was sent by Atlassian JIRA
(v6.2#6252)