# How would you handle scheduling dependencies between two nightly Jobs?

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/4666/manage-dependent-nightly-jobs
Source observed: 2026-11-04T23:46:31.186Z
Last checked: 2026-11-04T23:46:31.186+00:00
Indexed: 2026-11-05T19:24:50.304+00:00

---

# How would you handle scheduling dependencies between two nightly Jobs?

This Data Pipeline Design interview question describes two dependent nightly jobs:

- The first job starts at **12:00 AM** and usually finishes in about **20 minutes**.
- The second job depends on the first and is scheduled for **12:30 AM**.
- Sometimes the first job runs late, causing the second job to fail.

The question asks what a data engineer can do to correct the scheduling dependency.

## Interview details

- **Interviews:** 1
- **Category:** Data Pipeline Design
- **Role:** [Data Engineer](https://www.aced.io/questions?role=data-engineer)
- **Company:** [Databricks](https://www.aced.io/questions?company=databricks)
- **Last reported:** 2 years ago

[Unlock detailed company stats](https://www.aced.io/upgrade?src=questions).

## Community answer 1 — Anzhe M.

[Anzhe M.](https://www.aced.io/users/1129768f-468b-4241-b504-806ead89cde5) has [2,491 karma](https://www.aced.io/karma). The answer was updated **July 26, 2025**.

The answer begins with two questions:

1. Should the second job have to start at 12:30 AM?
2. Are other jobs dependent on the second job?

If the answer to both is no, postpone the second job to allow sufficient time for the first to finish. If both are yes, let the second job retry a defined number of times, while ensuring that reaching the retry limit does not delay or fail subsequent jobs.

## Community answer 2 — neitherdonkey

[neitherdonkey](https://www.aced.io/users/62f85912-9645-429e-85c0-826e85bc8959) has [0 karma](https://www.aced.io/karma). The answer was updated **June 26, 2026**.

If the only requirement is that the second job starts after the first finishes, use a message queue between them. When the first job finishes, it sends a completion message to the queue; the second job consumes that message and starts. The answer emphasizes that waiting for a completion event is preferable to allowing a timing issue to cause job failure.

## Related question

[How would you handle a task in a nightly job that fails unexpectedly during 10 percent of the runs?](https://www.aced.io/questions/4665/handle-nightly-job-task-failures)

## Related courses

![Data Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/5XoOCgXlGqN2fa1zaroNWd/9a2e23df48a212bc00d352873feb2d6a/Data_Engineer_Interview_Prep_Hero_Image.jpg?w=800&h=800&fm=webp&q=75)

### [Data Engineering Interview Prep](https://www.aced.io/courses/data-engineering)

We cover data modeling, pipeline design, SQL, coding, behavioral interviews, mock interviews, frameworks, and advice from senior candidates. The course is positioned for roles at Meta, Google, Amazon, Microsoft, Walmart, DoorDash, and other top companies.

![Behavioral Interviews: A Practical Guide for Engineers](https://images.ctfassets.net/x78yjrjc11pq/47qcoHjzFZXE37GoacedkB/9d8e3f4910d8b06b21e76745cd9cbff3/AdobeStock_1142146335.jpeg?w=800&h=800&fm=webp&q=75)

### [Behavioral Interviews: A Practical Guide for Engineers](https://www.aced.io/courses/eng-behavioral)

We prepare candidates for senior-plus behavioral interviews at FAANG and Tier-1 companies with material made with staff and principal engineers from Meta, Netflix, Google, and more.

## Submit an answer

We provide an answer editor with formatting for bold, italics, bulleted and numbered lists, quotations, inline code, and code blocks. Submitting an answer marks the question complete.

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F4666%2Fmanage-dependent-nightly-jobs&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F4666%2Fmanage-dependent-nightly-jobs). Opening a form does not execute a tool.