While I was able to generate nightly exports of a Moodle progress report last year, I am struggling to get cron and wget working with the export of a grade report. I believe this is due to the three steps required to generate an export file. I can get the first page, but I am not sure how to click the php submit button and then the download button that actually generates the output file. I am looking into whether the button is really a link and I am taking a look at whether curl might be a better solution.
Any ideas would be appreciated?