I would begin with the plugin tutorial series for the basic structure of a plugin:
If you want an example of how to add a job to a plugin the discourse-assign plugin has one that sends periodic reminders:
I would begin with the plugin tutorial series for the basic structure of a plugin:
If you want an example of how to add a job to a plugin the discourse-assign plugin has one that sends periodic reminders: