We are using message driven beans for scheduling some quarz jobs.
by annotations in the bean like:
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "cronTrigger", propertyValue = "0 0/55 * * * ?") })
@ResourceAdapter("quartz-ra.rar")
@TransactionManagement(TransactionManagementType.BEAN)
@TransactionAttribute(TransactionAttributeType.REQUIRED)
So means this job is called every 55 MInutes.
How can i change this trgger time during runtime of the server?
- Programmatically?
- JMX-Console?
Thanks in advance!!
Nachricht geändert durch Uwe Clement
i solved by myself:
in the callback in the Object JobExecutionContext is the full access to the based scheduler....here u can do everything