Docs
Scheduling System
Documentation

Scheduling System

Automate your content calendar with smart scheduling.

Scheduling System

Consistent publishing is key to SEO success. AutoBlogWriter's scheduling system lets you plan your content calendar and automatically publish posts at the right time.

How Scheduling Works

When you schedule a post, you set a future date and time. A background job checks for scheduled posts and automatically transitions them to PUBLISHED status when the time arrives.

Scheduling a Post

From the dashboard editor:

  1. Write or generate your post.
  2. Click Schedule instead of Publish.
  3. Pick a date, time, and timezone.
  4. The post remains in DRAFT status until the scheduled time.

Scheduled posts include:

  • scheduledAt — The target publication timestamp.
  • timezone — The timezone for the schedule (e.g., America/New_York).
  • scheduledByUserId — Who scheduled it.

Auto-Scheduler

The Auto-Scheduler is AutoBlogWriter's most powerful scheduling feature. It combines AI content generation with intelligent scheduling:

  1. Go to the Auto-Scheduler in your dashboard.
  2. Configure:
    • Number of posts to generate
    • Target keywords or topics
    • Publishing frequency (e.g., 3 times per week)
    • Preferred posting windows
    • Timezone
  3. AutoBlogWriter creates a batch job that:
    • Generates ideas from your keywords
    • Writes full drafts for each idea
    • Generates hero and OG images
    • Schedules each post at optimal intervals

Batch Job States

StatusDescription
pendingJob created, waiting to start
processingActively generating content
completedAll posts generated and scheduled
failedAn error occurred during generation

You can monitor batch jobs from the dashboard or poll the API for status updates.

Manual Scheduling

For individual posts, use the editor's scheduling feature:

  • Schedule — Set a specific date and time.
  • Publish Now — Immediately transition to PUBLISHED.
  • Reschedule — Change the scheduled time for a pending post.
  • Cancel Schedule — Return the post to a regular draft.

Calendar View

The dashboard includes a calendar view showing:

  • Published posts (by publication date)
  • Scheduled posts (by scheduled date)
  • Draft posts in progress

This gives you a visual overview of your content pipeline and helps identify gaps in your publishing schedule.

Publication Flow

Draft → Scheduled → [Background job runs at scheduled time] → Published → Webhook sent → Site revalidated

When a scheduled post is published:

  1. The post status changes to PUBLISHED.
  2. publishedAt is set to the current timestamp.
  3. A webhook is sent to your configured endpoints.
  4. Your Next.js site's cache is automatically cleared via the revalidation handler.

Next Steps