Hi, I've been modifying a copy of UploadUser (/admin/tool/uploaduser), combined with a modified Bulk Messaging system, to facilitate our method of user creation/enrolement/notification.
I've gotten to the stage where I can simply point to the page in a browser, and everything is handled automatically; auto-pickup of a CSV of new and existing users, auto-setting of parameters, then auto-redirection and processing to a custom bulk user notification (for existing users) with details of their new and existing courses.
The question is, how do I now convert this to something that can be run via the CRON job? Is the only possible way to create it as a plugin, eg. a local plugin? If so, I'm having a hard time finding a comprehensive brief on the minimum requirements for a plugin; and last time I tried setting things up as it appeared they should be I ended up borking the server without any way to recover, with a plugin that would neither install nor uninstall properly, stopping all subsequent CRONs etc. Obviously not something I want to repeat!
Any thoughts on the best / easiest / hackiest way to achieve my goal? We are unlikely to be upgrading (2.5.3) for quite some time, and even so there are quite a few more, erm, modifications that would need to be heavily tweaked to suit anyway. Seems we don't utilise Moodle in a typical manner