*
The moose likes Other JSE/JEE APIs and the fly likes Quartz Schedular Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Quartz Schedular" Watch "Quartz Schedular" New topic
Author

Quartz Schedular

Siddique Ansari
Greenhorn

Joined: May 11, 2013
Posts: 21
I want to this but don't know how can i do that?

you can create a class that implements the Job interface called "SalesReportJob". The job might be coded to expect parameters sent to it (via the JobDataMap) to specify the name of the sales person that the sales report should be based on. They may then create multiple definitions (JobDetails) of the job, such as "SalesReportForJoe" and "SalesReportForMike" which have "joe" and "mike" specified in the corresponding JobDataMaps as input to the respective jobs.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

Since your problem description seems to be copied almost verbatim, have you looked at http://quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-03


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
 
subject: Quartz Schedular
 
Similar Threads
Collections ???
injected value by spring is resetting to null
Quartz problem!
Passing parameters to Quartz job
Quartz api ???