SpinTheMic
Pro

Interview practice question

Scheduling a Python script

Data Engineering · Python · Beginner

You have a Python script that needs to run every morning at 6 AM. What are your options?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Simple: cron on a server or a scheduled task.
  • Cloud: EventBridge with Lambda, Cloud Scheduler, or a container job.
  • Orchestrators: Airflow, Prefect, Dagster for dependencies and retries.
  • Need logging, alerting and retries regardless.
  • Choose based on how many jobs and dependencies you have.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics