This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scheduling from database  RSS feed

 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Partners!
I'm building an app that runs some task periodically and this schedule is defined in database. I'm looking to Spring/Hibernate/Quartz technology stack to save data about quartz jobs in database.
But I heard that Quartz it pretty old, and I don't know if this combination is good for this task. Could you please suggest how to build the app, to make it possible to change schedule by direct editing of database?
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, Quartz is pretty old, but that's a good thing. It's proven technology that has a lot of history behind it and is still actively maintained. Although it's possible to change scheduling behavior by directly "hacking" the records in Quartz' database tables, I wouldn't do that. If you look at the cookbook there are plenty of examples of listing and updating jobs and triggers through the Java API, which you could expose as a webpage or -service.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!