Thanks for your code. Only unenrolling users who were added from the external database sounds great - I'll definitely check things out!
External database enrolment as cron job
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.