Scheduled Job Runbook
A runbook for a scheduled job covering monitoring and rollback.
Intermediate · Works with ChatGPT, Claude, Gemini, Copilot
The prompt
Write a runbook for this scheduled job.
What the job does and its schedule:
{{JOB_DESCRIPTION}}
What's already logged or monitored:
{{MONITORING}}
Describe how to confirm a run succeeded beyond 'no error thrown,' what to check first if it's suspected to have failed, and how to safely rerun or roll back its effects. Show the minimal version of this runbook that would still catch a real failure, then note what to add only if this job becomes more critical.Why this prompt works
Distinguishing 'ran without error' from 'produced correct output' is exactly where scheduled job failures usually hide.
How to customize it
- Say what a correct run's output actually looks like, not just exit code 0
- Note whether the job is idempotent, since that changes the rerun/rollback answer
Common mistakes
- Treating a clean exit code as proof the job worked
- Writing a rollback step without checking whether reruns are safe (idempotent)
Example
Input
Job description and schedule: Nightly job recalculates customer loyalty tiers at 2am
What a good answer looks like
A short runbook: success check, first-response steps, and a safe rerun/rollback procedure.
Make this prompt fit your work
ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.