Within a pluginI have some code for sending notifications that could all go in the cron file (strapi-server.js), but I have extracted this out to a simple js file and imported into the cron file.
Is this a correct approach or should I be setting these up as services? I know services are generally for re-usable code in controllers so not sure its really necessary here. My current approach seems to work nicely…
This topic has been created from a Discord post (1278716337773871186) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord