module.exports = () => ({
bootstrap({ strapi }) {
strapi.cron.add({
myJob: {
task: ({ strapi }) => {
console.log("hello from plugin");
},
options: {
rule: "* * * * * *", // << Notice that `options` has an attribute `rule`
},
},
});
},
});
that one doesn’t, but try a different rule, I have felling that it creates default * * * * * rule