Strapi plugin logo for Cron Manager

Cron Manager

A visual cron job manager for Strapi

Cron plugin for Strapi

Manage and monitor cron jobs from Strapi admin panel.

Cron plugin for Strapi

👋 Get Started

✨ Features

  • GUI integrated with Strapi admin panel
  • tasks scheduling tool incorporating start/end dates and iterations counter
  • script logs & monitoring

📦 Installation

  1. Run the following command from the Strapi app root directory.
1[npm|yarn|bun] add @innovato/strapi-plugin-cron
  1. Update or create ./config/plugins.ts file with the following config:
1export default () => ({
2  'strapi-plugin-cron': {
3    enabled: true,
4  },
5})
  1. Run the build command from the Strapi app root directory.
1[npm|yarn|bun] run build

📌 Usage

If you want to maintain your cron job script files within the parent project and track them with a VCS, you should place them in a location relative to <your-strapi-project>/src/extensions/strapi-plugin-cron/.

The script file should be a .js module which exports an async function:

1module.exports = async ({ strapi, cronJob }) => {
2};

The function has access to strapi global variable and the relevant cronJob object.

The script snippet maintained via the Cron plugin dashboard has a direct top-level access to those parameters.

🔧 Development

A supplementary repository for development is available here @mjnoach/strapi--strapi-plugin-cron

Install now

npm install @innovato/strapi-plugin-cron

STATS

13 GitHub stars58 weekly downloads

Last updated

55 days ago

Strapi Version

5.12.3 and above

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.