1.0.6 • Published 10 months ago

@webbio/strapi-plugin-scheduler v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

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.

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.

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.

1.0.6

10 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.5

12 months ago

1.0.4

1 year ago

1.0.3

1 year ago

0.2.0

1 year ago

0.1.1-alpha.0

1 year ago

0.1.3

1 year ago

1.0.0-beta.0

1 year ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago