Skip to content
Web UI to manage and trigger jobs running on a Play! Framework application http://playjobs.mashup.fm/@jobs
Java Python
Find file
Latest commit 0d44d32 @feliperazeek feliperazeek Merge pull request #2 from alokito/master
Fix for PlayJobsService.java class loader bug

README.textile

Play! Jobs
Web Interface to manage and trigger jobs running on a Play! Framework application. A JAX-RS/RESTFul JSON API is available through Play!’s RESTEasy Module.

by Felipe Oliveira
http://mashup.fm
http://geeks.aretotally.in
http://twitter.com/_felipera

Live Demo
http://playjobs.mashup.fm

Install Locally
- Install Module
- git clone play-jobs into a local directory separate from your play app
-
type “play build-module” to build the module. Enter “1.2” or so for required version
- look for instructions on how to set up references to local modules, such as
-
- http://stackoverflow.com/questions/5859037/how-to-reference-local-modules-using-dependency-yml
- Add module routes to the application that’s installing the jobs module
— see instructions in play-jobs/conf/routes
- Start your play application
- In your browser, go to http://localhost:9000/@jobs

You should see all the jobs defined on your application, basically your classes that extend play.jobs.Job.

RESTful API
Using Play!‘s RESTEasy’s module. All the business logic is encapsulated on service class JobsService which contains
the annotations necessary to expose the service and bind it as a JSON interface.
This JSON interface is useful if you need to hook your Play! application into a monitoring solution like Nagios.

Something went wrong with that request. Please try again.