Cron in plugins
Ability for cron tasks to be written in a plugin.
Why is it needed?
Say you have a twitter or instagram feed plugin, it would be handy to add a cron task directly in the plugin to fetch the feed every x hours e.g. Also I think it will open up room for more enhanced plugins to be written.
Use the same naming convention as the normal cron in the plugin.
So you would add a file: /plugin-name/config/functions/cron.js.
marked this post as