简体   繁体   English

如何在spring框架中创建运行时/动态触发器或作业调度器与数据库集成?

[英]How to create runtime/dynamic trigger or job scheduler in spring framework integrate with database?

I just wanted to create n number of trigger/job scheduler by user. 我只想用户创建n个触发/作业调度程序。 (ie) user wants to create job scheduler for sending their own reports to their email periodically. (即)用户想要创建作业调度程序,以便定期将他们自己的报告发送到他们的电子邮件。

The application should allow to create n number of scheduling time for every user. 应用程序应该允许为每个用户创建n个调度时间。

For the reason,How to create job scheduler at run time by using spring with database and give me an idea or link to resolve it. 出于这个原因,如何在运行时使用带数据库的spring创建作业调度程序,并给我一个想法或链接来解决它。

My application has developed with Java, Spring, Hibernate, MySQL 我的应用程序是用Java,Spring,Hibernate,MySQL开发的

You can use http://atrigger.com for scheduling your web app independent of the programming language(It's using REST API) and your server time, and more benefits such as error handling and task listing. 您可以使用http://atrigger.com来安排您的Web应用程序,而不依赖于编程语言(使用REST API)和服务器时间,以及错误处理和任务列表等更多好处。

There are lots of feature to support multiple tasks for multiple users: http://atrigger.com/docs/wiki/18/use-case-scheduled-welcome-emails 有许多功能可以支持多个用户的多项任务: http//atrigger.com/docs/wiki/18/use-case-scheduled-welcome-emails

Disclaimer : I was among the ATrigger team. 免责声明 :我是ATrigger团队的一员。 It's a freeware and I have not any commercial purpose. 这是一个免费软件,我没有任何商业目的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM