The scheduling, idempotency and leap-year lessons I learned building CelebrateMe, a Laravel SaaS.
Sending a Birthday Message at 9 AM in Every Timezone with Laravel
When I started building CelebrateMe, my SaaS for celebrating the people who matter, the core feature sounded trivial: send the celebration message on the right day.
Then the first bug report came in. A user in Lagos got their message at 9 AM. A user in Los Angeles got theirs at 1 AM. A user in Sydney got theirs the day after the birthday.
"The right day" turns out to mean "the right day for the person receiving it". That one sentence reshaped the whole scheduling layer.…