Strapi plugin logo for Scheduler

Scheduler

This plugin allows you to publish or depublish any collection type in the future.

thumbnail for Scheduler

Strapi plugin scheduler

Strapi Plugin to schedule publish and depublish actions for any collection type. There are a couple of steps necessary to get the plugin up and running but they will be explained down below.

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 plugin.js file in your config folder.

scheduler: {
    enabled: true,
    config: {
      model: "scheduler",
    },
  },
  1. Add the cron task to the server.js file in your config folder.
const cronTasks = require("@webbio/strapi-plugin-scheduler/cron-task");

module.exports = ({ env }) => ({
  host: env('HOST', '0.0.0.0'),
  port: env.int('PORT', 1337),
  cron: {
    enabled: true,
    tasks: cronTasks,
  },
});

Now when you run your application, you will see some information is added to the sidebar. You can choose a date and time to publish or depublish your article.

Future plans

  • TBA

Install now

npm install @webbio/strapi-plugin-scheduler

Last updated

43 days ago

Strapi Version

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