Docker コンテナ作成時に cron/anacron にジョブを追加する方法

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:

https://github.com/discourse/discourse-assign/blob/master/jobs/scheduled/enqueue_reminders.rb