2025-02-14

Scheduling Python jobs across Thai public holidays

By Dao Santoso

Illustration for Scheduling Python jobs across Thai public holidays

Most automation courses treat calendars as an afterthought. In Thailand, public holidays shift workloads dramatically: finance queues pause while logistics spikes before long weekends. We teach learners to encode holiday tables explicitly, separate business-hour checks from UTC storage, and document assumptions in runbooks teammates can challenge politely.

Bridgemesh labs start with a synthetic holiday file you version alongside code. You practice injecting blackout windows into APScheduler and systemd timers, then simulate a surprise bridge holiday declared mid-sprint. The goal is not perfect prediction—it is readable failure when calendars disagree with reality.

We also discuss human notification etiquette. A script that pings LINE groups during family dinners erodes trust faster than a missed job. Cohort mentors review quiet-hour configs as carefully as retry logic.

Capstone teams must show how their scheduler behaves when the holiday file is wrong—rollback paths matter as much as happy paths.

Tags: operations · scheduling · Thailand