This script doesn't delete any accounts. It just performs enrolments/unenrolments. And it doesn't run unless you do it explicitly (by hand or as a cron job).
So if you are not running the script, the reasons for the disappearing enrolments and accounts must be elsewhere.
Student Enrollment and Accounts Disappear
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.