Hello. I was wondering if there is currently any way to schedule a Quartz job programmatically?
Perhaps something like this legacy method using annotations and the old scheduler?
Hello. I was wondering if there is currently any way to schedule a Quartz job programmatically?
Perhaps something like this legacy method using annotations and the old scheduler?
Hello!
Thank you for contacting Jmix support.
Do you mean @ScheduledBeanMethod?
What Jmix version you are currently using?
Regards,
Sergey
I am using Jmix 2.3.4.
I am not set on a specific approach. But my goal is to programmatically schedule a job to run every 20 seconds. Without having a user log in to the Quartz jobs page to manually schedule the job. If this code could run at system start up, it would reduce the administrative work.
Yes you can. For example, I’m using Jmix 2.2.3 and am scheduling simple schedules to get alarm to send in-app notifications at a specified duration to specified user and warning message.
So, what I would do in your place:
Try askin Jmix AI, under the documentation page you maye be surprised how good it is with examples
Kind regards,
Mladen