Building a Dead Simple Health Check for a Headless Python Bot

How to know your bot is still running at 3am without buying a monitoring SaaS: a heartbeat file, a lightweight HTTP endpoint, and a cron job that emails you when things go quiet.