Skip to content

feat: auto-publish scheduled posts #12

@srmdn

Description

@srmdn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions