Scheduling & Controlled Automation Coding Clinic.
Write eight original Python solutions that make unattended job decisions predictable: validate inputs, calculate time windows, prepare safe plans, reject expired approvals and avoid replaying actions.
Know why the automation should stop. All exercises execute locally inside the site's isolated browser Python environment using synthetic records and injected approvals. No real cron jobs, Windows tasks, ticket APIs, tenant changes, device writes or OS-level locks are created. Check evaluates alternate input cases beyond the displayed example.
The optional local Python project demonstrates repeatable plan and simulation commands with eight unit tests. Do not confuse its simulated apply decision with a real change.
Write it. Run it. Understand it.
Real Python execution, a variable trace and feedback against the requirements. You write the code—answers aren't revealed up front.
Validate a bounded schedule interval
Write interval_minutes(value): accept only an integer between 5 and 1440 inclusive, returning the value, or return None for booleans, fractions, strings and out-of-range values. The scheduler calls this helper before registering a recurrence; do not silently cast a user-supplied string. Print the interval of the sample job. The checker tests minimum, maximum, malformed types and unexpected values.
15 minutesTry solving it before asking for help. Hints never show a completed program.
Your printed output and errors will appear here.
Run the code, then step through the executed lines to watch variable values change.
