views:

1649

answers:

8

Im looking at developing a web front end to control and monitor quartz jobs. Does anyone have suggestions for starting points, APIs, or other places to look?

+6  A: 

Check out the Quartz Web-App on the Quartz WIKI. It should be a good starting point. I was able to get it to work a long time ago.

Tim R
Quartz Web App is not maintained anymore. See here : http://forums.terracotta.org/forums/posts/list/2769.page
fabien7474
A: 

I haven't used the Quartz Web-App as mentioned above, but that looks like it's a real good place to start. For our app that uses quartz, I built out a custom GUI interface to reschedule jobs and start/suspend scheduled jobs coming up, and it was really pretty easy to do, since it was just a wrapper for the JobScheduler.

MattGWagner
A: 

I too had to write my own application, as the aforementioned Quartz Webapp is meant to run jobs, not simply administer an existing clustered job scheduler.

I found it easier to operate directly against the quartz database via jdbc than to use their java API.

washley
The quartz documentation/best practices writes in BIG letters that you should never, ever, ever write to the quartz tables yourself.
nos
+1  A: 

Hi,

Download location pointed in Quartz Web-App on the Quartz WIKI is not working.

Error 404. We apologize. The page you were looking for cannot be found.

Can anybody share an active downloadable location?

Gnanam
+1  A: 

It is really easy to build the quartz.war using the source, but it involves multiple steps.

  1. Install SVN (http://www.sliksvn.com/en/download)
  2. Download the webapp source (svn checkout http://svn.terracotta.org/svn/quartz/webapp/trunk quartz_webapp)
  3. Run ant on build.xml (I got the following output)

D:\Siddhant\Projects\quartz_webapp>ant Buildfile: build.xml

compile: [mkdir] Created dir: D:\Siddhant\Projects\quartz_webapp\classes [javac] Compiling 43 source files to D:\Siddhant\Projects\quartz_webapp\classes [javac] Note: D:\Siddhant\Projects\quartz_webapp\src\main\java\org\quartz\ui\web\init\DefinitionInitializer.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details.

war: [war] Building war: D:\Siddhant\Projects\quartz_webapp\target\quartz.war

BUILD SUCCESSFUL Total time: 8 seconds


siddagrl
+2  A: 

I suggest taking a look at the Quartz Book first: Quartz Job Scheduling Framework, in order to get a better understanding of Quartz. I think it's a very good and well structured source of information about Quartz.

As a web application framework for your fronted, I would suggest using Apache Click framework since it's very very easy and fast to learn, and it's live examples also have a Quartz integration example.

Adrian A.
A: 

Now, there is a web GUI for Quartz available. It is Citrine Scheduler.

Check the following links:

Gnanam
A: 

This is useful in case you would like to customize your own interface:

http://neopatel.blogspot.com/2010/02/quartz-admin-jsp.html

Gnanam's response about Citrine does sound interesting for a more integrated approach.

bphilipnyc