• Product

  • Solutions

  • Developers

  • Docs

  • Pricing

  • Cloud

Search icon
Strapi plugin logo for Scheduler

Scheduler

A plugin to publish or depublish content types in the future.

thumbnail for Scheduler

Strapi plugin scheduler

Strapi Plugin to schedule publish and depublish actions for any collection type.

Schedule when you want to publish your content

Alt Text

Choose the date and time of publication and choose when to archive your page

Alt Text

That's it!

Alt Text

Installation

  1. To install the plugin run npm i @webbio/strapi-plugin-scheduler or yarn add @webbio/strapi-plugin-scheduler.

  2. After the plugin is installed, add the plugin to the plugins.js file in your config folder.

1
2
3
4
5
6
7
8
scheduler: {
		enabled: true,
		config: {
			contentTypes: {
				'api::page.page': {}
			}
		}
	},

Set initial dates

Set the initial archive date and initial publish date in the plugin settings. These dates will automatically be set when creating a new page.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
scheduler: {
		enabled: true,
		resolve: './src/plugins/strapi-plugin-scheduler',
		config: {
			'api::page.page': {
				initialPublishAtDate: setMonth(
					new Date(),
					new Date().getMonth() + 1
				).toDateString(),
				initialArchiveAtDate: setMonth(
					new Date(),
					new Date().getMonth() + 3
				).toDateString(),
			},
		},
	},

Now when you run your application, the addon will be added to the sidebar. You can choose a date and time to publish or archive your article.

Install now

npm install @webbio/strapi-plugin-scheduler

STATS

24 GitHub stars739 weekly downloads

Last updated

237 days ago

Strapi Version

4.6.0 and above

Author

github profile image for Webbio
Webbio

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.