Writing

Blog

Occasional notes from the jobs that made me build these plugins.

wp_schedule_event mistakes: why a WordPress cron job runs twice, or never

A scheduled job that runs twice, piles up or never runs is usually the code, not the server. The four mistakes AI-written plugins make with wp_schedule_event — no wp_next_scheduled check, an unregistered cron_schedules interval, one giant event, a logged-in-user assumption — each with the fix, and how to see what is scheduled.

Read it