Method and device for configuring timing tasks based on Quartz frame
A technology for timed tasks and timed services, applied in multi-programming installations, program startup/switching, etc., can solve problems such as the inability to dynamically add pause, resume, and remove timed tasks, the inability of crontab to have built-in management, and the complexity of application migration.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] Embodiments according to the present invention will be described in detail below with reference to the accompanying drawings.
[0035] figure 1 It is a flowchart of a method for configuring timing services based on a Quartz framework according to the present invention.
[0036] Such as figure 1 As shown, the present invention provides a method for configuring a timing task based on the Quartz framework, comprising: step 102, setting a timing service interface; step 104, the user adds a task through the timing service interface, specifies the time rule of the task, and Assigning a unique identifier to the task; step 106, according to the time rule, execute the task at a predetermined time according to the unique identifier using a corresponding service interface. In the technical solution, real-time configuration of the timing service is realized through the timing service interface.
[0037] In the above technical solution, the step 104 further includes: the user sus...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 