A painted night server aisle with one open rack, a crash cart and an engineer seen from behind

Batch Scheduling: a broken job chain, fixed and rerun green

Batch Scheduling is the 2501 specialty for Rundeck job chains: it diagnoses an ABEND, fixes the underlying cause and reruns the chain green. It never makes a control check pass by changing what it checks.

Updated

Specialty

Batch Scheduling

Works on
  • Rundeck
  • rd CLI
  • Job chains
  • Control files
Default mode
May fix, within its brief

What Batch Scheduling covers

A chain that stops halfway leaves every downstream job unrun. The night shift notices in the morning. A half-run chain is not a resolved incident.

The scheduler’s own state
Recent executions, the full log and the per-job state, then the failing script and its files.
Data and control files
A data file is checked against the upstream control file, and the spool copy is the reference when the working copy is damaged.
Closed only when green
It reruns the chain from its entry point, and the incident closes only once the whole chain has run.
A trail to follow
The report names the job, its error, the cause, the fix, the rerun and the execution ids.
How it reaches your systems
Batch Scheduling runs on the server that hosts Rundeck, using its rd command line tool.
Default mode: may fix, within its brief
May fix and rerun by default, inside the limits on this page. Set it investigate-only and it diagnoses without changing anything, unless a ticket is tagged @2501:remediate.

Problems it handles

One block per kind of ticket: what the agent checks, what it may do, and what it leaves to your team.

Problem 01

What does 2501 do when a Rundeck job chain stops partway?#

It finds the job that failed and why from the scheduler’s own state, fixes the cause, and reruns the chain from its entry point until it runs green. Finishing on wrong data is worse than not finishing, so control checks are never bent to pass.

It checks

  • Recent executions, the full log and which step failed or never ran.
  • The failing job’s script and the files it works on.
  • The data file against its control file and the spool copy.

It may

  • Fix the underlying cause.
  • Rerun the chain from its entry point.

It leaves to people

  • Control values, which come from the upstream system.
  • Disabling, deleting or unscheduling jobs, or editing a chain to skip a step.

Questions about Batch Scheduling

Have a ticket of this kind that is not answered here?Book a demo

Will it skip the failing job to get the chain through?

No. It never edits a job definition to skip a step, and never disables or unschedules a job.

When is the incident closed?

Only once the whole chain has been rerun green, not after a single job rerun.

Can our operators check its work?

Yes. The report gives the execution ids it looked at, so they can follow its trail in the scheduler.

Next step

Bring last night’s ABEND

Send the execution log. We will walk through how Batch Scheduling would find the cause and rerun the chain.