Advanced User/Member CSV Exportation Automation

Before I have a chance to read through the relevant code, is there an easy way to automate this process? I want to run a cron job to pull all the data from the advanced export down at set intervals - is there a script I can reference from PHP in cron directly?