Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@innovato/strapi-plugin-cron
Advanced tools
Manage and monitor cron jobs from Strapi admin panel.
[npm|yarn|bun] add @innovato/strapi-plugin-cron
./config/plugins.ts
file with the following config:export default () => ({
cron: true,
});
[npm|yarn|bun] run build
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/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.
A supplementary repository for development is available here @mjnoach/strapi--strapi-plugin-cron
FAQs
Manage and monitor cron jobs from Strapi admin panel.
We found that @innovato/strapi-plugin-cron demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.