Summary
Posts with a future publish_date and status draft should be automatically published when their scheduled time is reached. No external cron needed.
Scope
- Background ticker in Go (e.g. check every minute) on server startup
- Query: drafts where
publish_date <= now()
- Set
status = published for matching posts
- Log each auto-publish event
- No new API endpoints or UI changes needed (publish date field already exists)
Notes
- Ticker runs inside the Go process; stops when the service stops
- Should be a no-op if no scheduled posts are pending
Summary
Posts with a future
publish_dateand status draft should be automatically published when their scheduled time is reached. No external cron needed.Scope
publish_date <= now()status = publishedfor matching postsNotes