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.

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

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.

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

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

26 GitHub stars654 weekly downloads

Last updated

477 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.