- Go to Site administration → General → Dynamic rules (or search “Dynamic rules” in Site administration).
- Click New rule.
- Provide name for your dynamic rule.
- Click save to proceed.
- Add Conditions:
- Search for "Time since user was created".
- Select "prior to the last"
- Indicate the time (example: 30 days)
- Add Action:
- Enrol users into a course
- Indicate the course, role when enrolled, end date or duration of enrollment and group name if you want to group users that are enrolled using this method.
- Save the rule and enable.