Is the Java – quartz scheduler no longer applicable to spring since version 3.0?
•
Java
Spring's internal scheduling function starts with spring 3, including support for cron type expressions, which is very similar to quartz's cron triggers
Does anyone want to integrate quartz with spring?
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/scheduling.html#scheduling -task-scheduler
Solution
Yes, you need quarz, for example:
>If you need to add a new job at run time, or > if you need to change the interval (cron expression) at run time, > if you need statistics about work, >
In general: if you need more than just running methods at fixed times
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码