Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quartz: Jobs do not resume #1405

Open
Yarik2308 opened this issue Jan 31, 2023 · 2 comments
Open

Quartz: Jobs do not resume #1405

Yarik2308 opened this issue Jan 31, 2023 · 2 comments
Assignees

Comments

@Yarik2308
Copy link

Same as in #1079 but jmix version 1.4.4
add spring.quartz.auto-startup=false in properties. Jobs are pauesd on application start.
If u try to resume job u get jobResumed notification but it stays paused.
Execute now button also do not run job.

@gorbunkov gorbunkov added type: bug Something isn't working in: quartz labels Mar 2, 2023
@gorbunkov gorbunkov added this to Backlog in Release 1.5 via automation Mar 20, 2023
@gorbunkov gorbunkov moved this from Backlog to Next in Release 1.5 Mar 20, 2023
@Gavrilov-Ivan Gavrilov-Ivan moved this from Next to In progress in Release 1.5 Mar 23, 2023
@Gavrilov-Ivan
Copy link
Contributor

Property spring.quartz.auto-startup=false keeps Scheduler from underlying Quartz library in standby mode.
In this mode Scheduler can't fire triggers and execute jobs.
Jmix Quartz addon is designed to work with active Scheduler.
So if you use this property you have to call Scheduler#start() (autowire org.quartz.Scheduler) somewhere before you are able to execute jobs.

@Gavrilov-Ivan
Copy link
Contributor

Possible further improvements:

  1. To prevent misunderstanding:
    1. Display Scheduler's state.
    2. Disable corresponding buttons if Scheduler's state doesn't allow to perform these actions.
  2. Support additional features
    1. Add buttons to control Scheduler's state (start, standby).
    2. Research availability of immediate execution of some job without startup the entire Scheduler.

@gorbunkov gorbunkov removed this from In progress in Release 1.5 Mar 27, 2023
@gorbunkov gorbunkov added size: M and removed type: bug Something isn't working labels Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants