Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@innovato/strapi-plugin-cron

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@innovato/strapi-plugin-cron

Manage and monitor cron jobs from Strapi admin panel.

  • 1.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Cron plugin for Strapi

Manage and monitor cron jobs from Strapi admin panel.

Cron plugin for Strapi

👋 Get Started

  • Features
  • Installation
  • Usage
  • Development

✨ 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.
[npm|yarn|bun] add @innovato/strapi-plugin-cron
  1. Update or create ./config/plugins.ts file with the following config:
export default () => ({
  'strapi-plugin-cron': {
    enabled: true,
    resolve: './src/plugins/strapi-plugin-cron',
  },
})
  1. Run the build command from the Strapi app root directory.
[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 .ts module which exports an async function:

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

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

FAQs

Package last updated on 17 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc