Leveraging advanced queues to implement event based job scheduling
First Claim
Patent Images
1. A method of job scheduling by a database system comprising:
- creating a first job;
associating a scheduler agent to a queue comprising a queue message body;
creating a first rule associated with the scheduler agent, the first rule comprised of one or more conditions based at least in part upon a state change data in the queued message body;
registering the first job with the scheduler agent for notification of an event;
scheduling the event to trigger execution of the first job by using the first rule, the event being based at least in part upon the state change data in the queued message body, wherein the state change data is associated with the state change of a second job;
executing, by using a processor, the first job based at least in part upon the state change data; and
storing the state change data in a non-transitory computer-usable medium or displaying the state change data on a display device.
1 Assignment
0 Petitions
Accused Products
Abstract
A job scheduling technique that allows jobs to be launched as a result of messages which are not targeted specifically at the job, and for jobs to be interrelated in complex ways.
25 Citations
23 Claims
-
1. A method of job scheduling by a database system comprising:
-
creating a first job; associating a scheduler agent to a queue comprising a queue message body; creating a first rule associated with the scheduler agent, the first rule comprised of one or more conditions based at least in part upon a state change data in the queued message body; registering the first job with the scheduler agent for notification of an event; scheduling the event to trigger execution of the first job by using the first rule, the event being based at least in part upon the state change data in the queued message body, wherein the state change data is associated with the state change of a second job; executing, by using a processor, the first job based at least in part upon the state change data; and storing the state change data in a non-transitory computer-usable medium or displaying the state change data on a display device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product embodied on a computer readable storage medium, the computer readable storage medium having stored thereon a sequence of instructions which, when executed by a processor, causes the processor to execute a method of job scheduling by a database system, the method comprising:
-
creating a first job; associating a scheduler agent to a queue comprising a queue message body; creating a first rule associated with the scheduler agent, the first rule comprised of one or more conditions based at least in part upon a state change data in the queued message body; registering the first job with the scheduler agent for notification of an event; scheduling the event to trigger execution of the first job by using the first rule, the event being based at least in part upon the state change data in the queued message body, wherein the state change data is associated with the state change of a second job; executing the first job based at least in part upon the event; and storing the state change data or displaying the state change data on a display device. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A job scheduling system comprising:
-
one or more database queues created for purposes other than job scheduling comprising a first set of messages based at least in part upon events in the database environment; a scheduler queue comprising a second set of messages based at least in part upon a state of one or more jobs in the database environment; and a rules engine configured to create a plurality of rule sets based at least in part upon information contained in a message body of the first and second set of messages, wherein an event can be scheduled by a scheduling agent to trigger execution of a first job by using a first rule from the plurality of rule sets, the event being based at least in part upon the information contained in the second set of messages, the first job being registered with the scheduler agent for notification of the event, and the second set of messages is associated with the state of a second job. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification