cronexpression « Job « Spring Q&A

1. How to repeat a cronExpression in a specific period of time?

greetings all I have a cronExpression that I want it to be started on application startup and repeated every second, I am defining cronExpression via xml configuration as follows:

<bean id="myCronTrigger1" class="org.springframework.scheduling.quartz.CronTriggerBean">

2. changing cronexpression in quartz

changing cronexpression in quartz Hi, i have to start a cronjob at a specific time every day, but the user can modify the time it starts, and it should be started ...