System, method, and software for controlled interruption of batch job processing
AssigneeSap SE
InventorsOlaf Schmidt, Martin P. Fischer
Life of this patent
Estimating the term…
Abstract
This disclosure provides various embodiments of software, systems, and techniques for controlled interruption of batch job processing. In one instance, a tangible computer readable medium stores instructions for managing batch jobs, where the instructions are operable when executed by a processor to identify an interruption event associated with a batch job queue. The instructions trigger an interruption of an executing batch job within the job queue such that the executed portion of the job is marked by a restart point embedded within the executable code. The instructions then restart the interrupted batch job at the restart point.
Claims21
1-20. (canceled)
A non-transitory computer readable medium storing instructions for managing batch jobs, the instructions operable when executed by a processor to:
- execute a first batch job within a job queue, the first batch job including one or more tasks;
- identify a restart point placed at a predetermined location included by the first batch job prior to execution of the first batch job;
- identify a second batch job to be executed while the first batch job is executing;
- trigger an interruption event of the first batch job within the job queue;
- in response to the interruption event, continue a complete execution of a currently executing task for the first batch job without interruption until the restart point is reached and terminates when the restart point is reached;
- execute the second batch job when the first batch job has terminated;
- and
- restart the first batch job at the restart point when the second batch job has executed.
A computer implemented method for managing batch jobs, the method comprising:
- determining that a first batch job within a job queue is executing, wherein the first batch job includes one or more tasks;
- identify a restart point placed at a predetermined location included by the first batch job prior to the first batch job executing;
- identifying a second batch job to be executed while the first batch job is executing;
- triggering an interruption event of the first batch job within the job queue;
- in response to the interruption event, continue a complete execution of a currently executing task for the first batch job without interruption until the restart point is reached and terminates when the restart point is reached;
- determining that the second batch job is executing when the first batch job has terminated;
- and
- restarting the first batch job at the restart point when the second batch job has executed.
The computer implemented method of claim 15, further comprising:
- receiving resuming data associated with the first batch job when the first batch job is interrupted, the resuming data comprising a batch job identifier and a restart point identifier;
- persisting the resuming data;
- and
- providing the resuming data from persistence to the first batch job when the first batch job is restarted.
Dependencies are inferred from the claim text.