If you have the reporting module you can use the CRON system built into that to run scheduled scripts.