Quick revision
The short answer
I would treat the unowned critical jobs as a business risk first: inventory them, rank them by impact, and assign an accountable owning team to each before changing any code. Then I would draw a clear line: the batch platform owns the runtime, meaning orchestration, the job repository, metrics, alerting, restart tooling and upgrades, while business teams own job logic, data correctness, SLAs and on-call. Ownership, a runbook and an SLA become conditions for running on the platform, orphaned jobs are transferred with explicit funding or retired, and ownership is reviewed with business stakeholders regularly.
What to remember
In this answer, we treated unowned end-of-day jobs as a business risk and fixed ownership before technology. We inventoried the jobs, ranked them by impact and assigned accountable owning teams at once. The platform owns the runtime, including orchestration, the repository, metrics, alerting, restart tools and upgrades, while business teams own job logic, data correctness, SLAs and on-call. Ownership, a runbook and an SLA are conditions for running on the platform, transfers are funded explicitly, unneeded jobs are retired, and ownership is reviewed with the business every quarter.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would treat the unowned critical jobs as a business risk first: inventory them, rank them by impact, and assign an accountable owning team to each before changing any code. Then I would draw a clear line: the batch platform owns the runtime, meaning orchestration, the job repository, metrics, alerting, restart tooling and upgrades, while business teams own job logic, data correctness, SLAs and on-call. Ownership, a runbook and an SLA become conditions for running on the platform, orphaned jobs are transferred with explicit funding or retired, and ownership is reviewed with business stakeholders regularly.
Why this question is asked
An end-of-day job with no owner is a quiet risk. It runs every night, so nobody thinks about it, until the night it fails and the on-call engineer discovers that the team who wrote it was reorganised three years ago and nobody understands the code. At that point the business misses a deadline while people search for someone who can read the job. Interviewers ask this at the most senior level because the fix is mostly organisational: deciding who owns what and making that stick. In this answer, we will look at how to find and rank the risk, how to split responsibilities between the platform and business teams, how to make ownership a condition rather than a request, how to fund the transfer, and how to keep it from decaying again.
1Why Unowned Jobs Are a Business Risk
Ownership here means a named team that is accountable for a job: it gets paged when the job fails, it decides whether the output is correct, and it changes the code when the business rules change. Without an owner, every incident takes longer, because the first hour is spent finding someone. Changes to upstream systems break the job without anyone noticing in advance, and security upgrades are never applied because nobody dares touch it.
This is why I would not start with technology. Migrating an unowned job to a nicer platform only gives us a nicer place for it to fail. The first step is to make sure that, for every critical job, there is a team who will answer the phone.
2Inventory and Rank Before Changing Anything
We build a list of every batch job, with what it does, which systems it reads and writes, when it runs, its recent failures, and who touched its code last. Then we rank by business impact: which jobs, if they did not run tonight, would cause a missed regulatory deadline, wrong customer balances or a failed settlement. A job that produces an internal report is not in the same class as one that feeds the general ledger.
| Job | Impact if missed | Last change | Interim owner |
|---|---|---|---|
| eod-ledger-posting | wrong balances next day | 2021 | Finance Engineering |
| regulatory-extract | missed filing deadline | 2022 | Risk Platform team |
| card-settlement | delayed merchant payouts | 2020 | Payments |
| marketing-feed | stale campaign lists | 2019 | none: candidate to retire |
For the top of the list, we assign an interim owning team immediately, chosen by which business area the job serves, and agree it with that area's leadership. The team may not yet know the code, but it now holds the pager and the responsibility to learn. That single change reduces the risk more than any technical work.
3Drawing the Line Between Platform and Business Teams
The second decision is what the batch platform owns and what the business teams own. Without a clear line, two failure modes appear. Either the platform team becomes the owner of last resort for every orphan, debugging business data it does not understand, or business teams expect the platform to fix their jobs and do not build the skills to do it themselves.
| Area | Platform team | Business team |
|---|---|---|
| Scheduling and orchestration | runs and upgrades it | defines schedules and dependencies |
| Job repository and history | operates, backs up, cleans up | reads it for its jobs |
| Spring Batch and JDK versions | upgrades the template and base images | rebuilds and tests its jobs |
| Metrics, alerting, restart tools | provides them | sets thresholds, responds |
| Job logic and data correctness | no | owns it |
| SLA and on-call for the job | no | owns it |
The platform, in short, owns the runtime. It keeps the machinery healthy and easy to use. The business teams own the job: what it computes, whether the numbers are right, when it must finish and who gets paged. The platform team still helps in an incident, for example by showing what happened in the repository, but it does not decide whether a ledger posting is correct.
4Making Ownership a Condition of Running
Asking teams to take ownership tends to fade after a few months. Making it a rule of the platform does not. Every job on the batch platform needs an entry in the job catalogue with an owning team, an on-call rota, a runbook describing how to restart or re-run it and whom to call, and an SLA such as complete by 05:00 on business days. A job without these does not get scheduled. For existing jobs we set a deadline, and the platform reports each team's compliance.
The runbook is the piece people underestimate. It is what lets an on-call engineer who did not write the job handle it at 3 a.m.: how to check whether it is safe to restart, how to re-run a business date, and what downstream teams to inform. Writing it is also the fastest way for a new owning team to learn the job.
5Funding the Transfer and Retiring What Nobody Needs
Giving a team an old job without time to learn it is just moving the risk. So the transfer is funded explicitly: the receiving team gets capacity, for example a few weeks per critical job, to read the code, write the runbook, add tests and alerts, and do a planned restart drill. Where the original authors are still in the company, we ask for a handover session. This work goes into the roadmap as a named item, not something squeezed between features.
Some jobs will have no business sponsor willing to own them. That is useful information. If nobody can explain why a job must exist, we turn it off on a test basis, announce it, and wait to see if anyone notices. Retiring a job is the cheapest way to remove its risk.
- Does a business area need its output?YesAssign an owning teamNoAnnounce and switch it off
- Transfer with funded timeread code, runbook, tests, alerts
- Restart drill passed?YesRegister in the catalogueNoMore preparation time
- Review ownership each quarter
4 steps in order. Play them, or step through them one at a time.
6Keeping Ownership Healthy Over Time
Ownership decays through reorganisations, so it must be reviewed. Each quarter we review job health with business stakeholders: SLA misses, failures, jobs whose owning team has changed, and jobs whose runbook is out of date. Changes to team structures trigger a check of the catalogue so jobs are reassigned at the time of the reorganisation, not when the next incident reveals the gap. Presenting this to the business, not only to engineering, keeps it a business concern, which is where it belongs.
7Follow-up questions
What if no team wants to own a critical job?
Then it is escalated to the business leader whose area depends on the job, because the risk is theirs. In practice, once a leader sees that the ledger posting has no one on call, an owner is found quickly. If a job truly serves several areas, we pick the one most affected by a failure and give the others a consulting role.
Should the platform team own critical jobs temporarily?
Only as a short, explicit holding arrangement during the transfer, with a date. Long-term platform ownership of business jobs recreates the original problem in a new place, and the platform team cannot judge data correctness for dozens of business domains.
How do you measure success?
We track the share of critical jobs with an owner, runbook and SLA, the mean time to recover from batch incidents, the number of SLA misses, and the number of jobs retired. A good early target is that every critical job has an owner within one month and a tested runbook within a quarter.
8Conclusion
In this answer, we treated unowned end-of-day jobs as a business risk and fixed ownership before technology. We inventoried the jobs, ranked them by impact and assigned accountable owning teams at once. The platform owns the runtime, including orchestration, the repository, metrics, alerting, restart tools and upgrades, while business teams own job logic, data correctness, SLAs and on-call. Ownership, a runbook and an SLA are conditions for running on the platform, transfers are funded explicitly, unneeded jobs are retired, and ownership is reviewed with the business every quarter.
Open with
I would treat this as a risk problem before a technical one. First, an inventory of every batch job with what it feeds, its failures and its last change, ranked by business impact, so we know which jobs could cause a missed filing or wrong balances.
Then, if they want more
For the critical ones I would assign an accountable owning team immediately, agreed with the business area they serve, even before anyone touches the code. Then I would draw the line between the platform and the business teams. The platform owns the runtime: scheduling, the job repository, metrics and alerting, restart tooling and upgrades of Spring Batch and the JDK.
Business teams own the job logic, whether the data is correct, the SLA and on-call. The platform helps in incidents but does not debug business data.
To make this stick, ownership becomes a condition for running on the platform: every job needs an owner, an on-call rota, a runbook and a completion-time SLA in the catalogue, or it is not scheduled.
Transferring orphaned jobs gets explicit funded time to learn the code, write the runbook and run a restart drill, and jobs nobody can justify are switched off. Finally, I would review ownership and job health with business stakeholders every quarter and recheck the catalogue on every reorganisation.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Spring Batch reference
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Batch jobs at your company are owned by whichever team wrote them years ago, and several...": https://scrivio-interview-library.netlify.app/spring-boot/spring-batch/46c6fe6c85/