How and when are courses created in Moodle?

All SSU courses listed in the CMS class schedule are automatically created in Moodle approximately 30 before each term.