Adds a configurable publish date field to opted-in collections and globals. Setting a future date queues a native Payload schedulePublish job that runs at that time. The admin shows schedule status in the editor and list view with sorting and filtering by publish time. Requires Payload 3.90 or later, drafts enabled, and a running Payload jobs queue worker.
Scheduled posts plugin for PayloadCMS
Installation
npm i payload-plugin-scheduler32
Stars
2
Forks
2
Open Issues
2 months ago
Last Updated
59
Weekly Downloads
v1.2.0
npm Version
113.3 KB
Unpacked Size
2
Dependencies
320 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 32 |
| Dec 4, 2026 | 32 |
| Dec 3, 2026 | 32 |
| Dec 2, 2026 | 32 |
| Dec 1, 2026 | 32 |
| Nov 30, 2026 | 32 |
| Nov 29, 2026 | 32 |
| Nov 28, 2026 | 32 |
| Nov 27, 2026 | 32 |
| Nov 26, 2026 | 32 |
| Nov 25, 2026 | 32 |
| Nov 24, 2026 | 32 |
| Nov 23, 2026 | 32 |
| Nov 22, 2026 | 32 |
| Nov 21, 2026 | 32 |
| Nov 20, 2026 | 32 |
| Nov 19, 2026 | 32 |
| Nov 18, 2026 | 32 |
| Nov 17, 2026 | 32 |
| Nov 16, 2026 | 32 |
| Nov 15, 2026 | 32 |
| Nov 14, 2026 | 32 |
| Nov 13, 2026 | 32 |
| Nov 12, 2026 | 32 |
| Nov 11, 2026 | 32 |
| Nov 10, 2026 | 32 |
| Nov 9, 2026 | 32 |
| Nov 8, 2026 | 32 |
| Nov 7, 2026 | 32 |
| Nov 6, 2026 | 32 |
| Nov 5, 2026 | 32 |
| Nov 4, 2026 | 32 |
| Nov 3, 2026 | 32 |
| Nov 2, 2026 | 32 |
| Nov 1, 2026 | 32 |
| Oct 31, 2026 | 32 |
| Oct 30, 2026 | 32 |
| Oct 29, 2026 | 32 |
| Oct 28, 2026 | 32 |
| Oct 27, 2026 | 32 |
| Oct 26, 2026 | 32 |
| Oct 25, 2026 | 32 |
| Oct 24, 2026 | 32 |
| Oct 23, 2026 | 32 |
| Oct 22, 2026 | 32 |
| Oct 21, 2026 | 32 |
| Oct 20, 2026 | 32 |
| Oct 19, 2026 | 32 |
| Oct 18, 2026 | 32 |
| Oct 17, 2026 | 32 |
| Oct 16, 2026 | 32 |
| Oct 15, 2026 | 32 |
| Oct 14, 2026 | 32 |
| Oct 13, 2026 | 32 |
| Oct 12, 2026 | 32 |
| Oct 11, 2026 | 32 |
| Oct 10, 2026 | 32 |
| Oct 9, 2026 | 32 |
| Oct 8, 2026 | 32 |
| Oct 7, 2026 | 32 |
| Oct 6, 2026 | 32 |
| Oct 5, 2026 | 32 |
| Oct 4, 2026 | 32 |
| Oct 3, 2026 | 32 |
| Oct 2, 2026 | 32 |
| Oct 1, 2026 | 32 |
| Sep 30, 2026 | 32 |
| Sep 29, 2026 | 32 |
| Sep 28, 2026 | 32 |
| Sep 27, 2026 | 32 |
| Sep 26, 2026 | 32 |
| Sep 25, 2026 | 32 |
| Sep 24, 2026 | 32 |
| Sep 23, 2026 | 32 |
| Sep 22, 2026 | 32 |
| Sep 21, 2026 | 32 |
| Sep 20, 2026 | 32 |
| Sep 19, 2026 | 32 |
| Sep 18, 2026 | 32 |
| Sep 17, 2026 | 32 |
| Sep 16, 2026 | 32 |
| Sep 15, 2026 | 32 |
| Sep 14, 2026 | 32 |
| Sep 13, 2026 | 32 |
| Sep 12, 2026 | 32 |
| Sep 11, 2026 | 32 |
| Sep 10, 2026 | 32 |
| Sep 9, 2026 | 32 |
| Sep 8, 2026 | 32 |
| Sep 7, 2026 | 32 |
| Sep 6, 2026 | 32 |
16−34 since Sep 6
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 16 |
| Dec 4, 2026 | 21 |
| Dec 3, 2026 | 21 |
| Dec 2, 2026 | 19 |
| Dec 1, 2026 | 41 |
| Nov 30, 2026 | 64 |
| Nov 29, 2026 | 99 |
| Nov 28, 2026 | 94 |
| Nov 27, 2026 | 95 |
| Nov 26, 2026 | 101 |
| Nov 25, 2026 | 105 |
| Nov 24, 2026 | 91 |
| Nov 23, 2026 | 89 |
| Nov 22, 2026 | 66 |
| Nov 21, 2026 | 82 |
| Nov 20, 2026 | 77 |
| Nov 19, 2026 | 72 |
| Nov 18, 2026 | 71 |
| Nov 17, 2026 | 79 |
| Nov 16, 2026 | 85 |
| Nov 15, 2026 | 125 |
| Nov 14, 2026 | 132 |
| Nov 13, 2026 | 159 |
| Nov 12, 2026 | 189 |
| Nov 11, 2026 | 203 |
| Nov 10, 2026 | 196 |
| Nov 9, 2026 | 200 |
| Nov 8, 2026 | 161 |
| Nov 7, 2026 | 143 |
| Nov 6, 2026 | 126 |
| Nov 5, 2026 | 100 |
| Nov 4, 2026 | 87 |
| Nov 3, 2026 | 85 |
| Nov 2, 2026 | 65 |
| Nov 1, 2026 | 56 |
| Oct 31, 2026 | 56 |
| Oct 30, 2026 | 54 |
| Oct 29, 2026 | 45 |
| Oct 28, 2026 | 40 |
| Oct 27, 2026 | 34 |
| Oct 26, 2026 | 28 |
| Oct 25, 2026 | 31 |
| Oct 24, 2026 | 43 |
| Oct 23, 2026 | 32 |
| Oct 22, 2026 | 40 |
| Oct 21, 2026 | 52 |
| Oct 20, 2026 | 57 |
| Oct 19, 2026 | 57 |
| Oct 18, 2026 | 56 |
| Oct 17, 2026 | 52 |
| Oct 16, 2026 | 73 |
| Oct 15, 2026 | 86 |
| Oct 14, 2026 | 83 |
| Oct 13, 2026 | 81 |
| Oct 12, 2026 | 81 |
| Oct 11, 2026 | 77 |
| Oct 10, 2026 | 70 |
| Oct 9, 2026 | 61 |
| Oct 8, 2026 | 47 |
| Oct 7, 2026 | 54 |
| Oct 6, 2026 | 71 |
| Oct 5, 2026 | 78 |
| Oct 4, 2026 | 107 |
| Oct 3, 2026 | 122 |
| Oct 2, 2026 | 117 |
| Oct 1, 2026 | 194 |
| Sep 30, 2026 | 219 |
| Sep 29, 2026 | 277 |
| Sep 28, 2026 | 288 |
| Sep 27, 2026 | 429 |
| Sep 26, 2026 | 433 |
| Sep 25, 2026 | 461 |
| Sep 24, 2026 | 401 |
| Sep 23, 2026 | 368 |
| Sep 22, 2026 | 305 |
| Sep 21, 2026 | 283 |
| Sep 20, 2026 | 123 |
| Sep 19, 2026 | 110 |
| Sep 18, 2026 | 87 |
| Sep 17, 2026 | 92 |
| Sep 16, 2026 | 112 |
| Sep 15, 2026 | 98 |
| Sep 14, 2026 | 109 |
| Sep 13, 2026 | 103 |
| Sep 12, 2026 | 104 |
| Sep 11, 2026 | 99 |
| Sep 10, 2026 | 72 |
| Sep 9, 2026 | 49 |
| Sep 8, 2026 | 56 |
| Sep 7, 2026 | 47 |
| Sep 6, 2026 | 50 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/786786869-root)<a href="https://payloaddirectory.dev/plugins/786786869-root"><img src="https://payloaddirectory.dev/badge/786786869-root.svg" alt="Payload Directory"></a>README
Plugin that adds an imperative field-based scheduling flow on top of Payload's native functionality, with at-a-glance schedule status in the admin UI.
Starting in v3, Payload has a built-in workflow for scheduling posts via the job queue and "Schedule Publish" drawer. This plugin adds a configurable Date field to opted-in collections and globals that, when set to a future date, automatically queues a schedulePublish job in the background with waitUntil set to that date. This results in a more ergonomic workflow for editors where they can view the schedule status at a glance in the document editor, and sort/filter by publish time in the list view.
This plugin was originally written for Payload v2, and included a background scheduler that's since been superseded by v3's native queue. For Payload v2, use version <=0.1.3.


npm add payload-plugin-scheduler
After configuring the plugin, ensure that you've regenerated payload's import map, otherwise the custom components won't display.
// payload.config.ts
import { buildConfig } from 'payload'
import { ScheduledPostPlugin } from 'payload-plugin-scheduler'
import Pages from './collections/Pages'
import Posts from './collections/Posts'
import Home from './globals/Home'
export default buildConfig({
collections: [Pages, Posts, Users],
globals: [Home],
plugins: [
ScheduledPostPlugin({
collections: ['pages', 'posts'],
globals: ['home'],
interval: 10,
}),
],
})
This plugin creates Payload Jobs; it does not run the job worker for you. Your host app is responsible for running Payload's Jobs Queue.
See Payload's docs for current deployment guidance:
Enabled collections and globals must support drafts. The plugin merges the required scheduled-publish draft config into versions.drafts.schedulePublish and preserves existing version/draft settings.
collections?: string[]ScheduledPostPlugin({
collections: ['pages', 'posts'],
})
globals?: string[]ScheduledPostPlugin({
globals: ['home'],
})
interval?: numberTime interval, in minutes, passed to the Date field's time picker and Payload's scheduled-publish draft config. Defaults to 5.
ScheduledPostPlugin({
collections: ['posts'],
interval: 15,
})
Your job queue cron interval should match this value, eg autoRun: [{ cron: '*/5 * * * *' }].
executionAccess?: 'user' | 'override'Controls whose access permissions Payload uses when the scheduled publish job executes. Defaults to user.
user stores the authenticated scheduling user's ID on the job. Payload re-checks that user's current permissions at execution time. Scheduling without an authenticated user throws an error.override omits the user from the job, causing Payload to execute it with access overridden.ScheduledPostPlugin({
collections: ['posts'],
executionAccess: 'override',
})
publishDate?: objectConfigure the generated publish-date field.
ScheduledPostPlugin({
collections: ['posts'],
// these are the default values
publishDate: {
name: 'publish_date',
label: 'Publish Date',
index: true,
admin: {
position: 'sidebar',
},
},
})
All properties are configurable except type, timezone, admin.date.pickerAppearance, admin.date.timeIntervals, admin.components.afterInput, and admin.components.Cell.
By default, the plugin injects the publish-date field into every opted-in collection and global. If you need to place the field manually, use the exported publishDate() helper.
import type { CollectionConfig } from 'payload'
import { publishDate } from 'payload-plugin-scheduler'
export const Posts: CollectionConfig = {
slug: 'posts',
versions: {
drafts: true,
},
fields: [
{
type: 'tabs',
tabs: [
{
label: 'Content',
fields: [
{
name: 'title',
type: 'text',
},
],
},
{
label: 'Publishing',
fields: [publishDate()],
},
],
},
],
}
Manual placement is only valid inside collections or globals that are opted in through ScheduledPostPlugin({ collections, globals }).
You can also pass arguments to publishDate to override the global publishDate options, eg to override the admin display properties on a one-off basis. Overrides are merged with the top-level publishDate config, with name being the only field that's only configurable at the global level.
publishDate({
admin: {
width: '50%',
description: 'Custom description for this collection only'
}
})
A drop-in replacement for Payload's relationship field, this is a helper field that throws an error if a user attempts to publish a document with relationships to unpublished documents.
import type { Field } from 'payload'
import { SafeRelationship } from 'payload-plugin-scheduler'
export const featuredContent: Field = SafeRelationship({
name: 'featured_content',
relationTo: ['posts', 'pages'],
hasMany: true,
})
Set DEBUG=payload-plugin-scheduler in your runtime env to enable debug logging.
After cloning the repo and installing dependencies, run pnpm exec simple-git-hooks to setup automatic pre-commit linting.
The v3 plugin no longer creates or writes to a plugin-owned scheduled_posts collection, and it no longer uses node-schedule. Scheduled publishes are represented as native Payload schedulePublish jobs in Payload's jobs collection.
To upgrade:
scheduled_posts.admin.timezones, verify the resulting <fieldName>_tz values in your own scheduling flow.payload plugin scheduling
Schedule future publication of drafts on collections and globals with a secured cron endpoint
77783/wk37v3
plugin action scheduler
Schedule one-off, recurring and cron actions with retries and an admin dashboard, run by Payload's job queue.
7136/wk10v3
content freeze
Block create, update and delete on chosen collections and globals while a content freeze is active
85207/wk115v4
payload workflow
Adds a workflow status field and a board view for moving documents through custom editorial statuses
3943/wk110v2
payload plugin versioning
Collection versioning through a one-to-many link between a base collection and a version collection
3930/wk2v2
payload comments
Anonymous threaded comments and reactions with optional moderation for Payload collections
251v3