Can you use cron to output a nightly progress report or grade book with wget?

Re: Can you use cron to output a nightly progress report or grade book with wget?

by Tom Boyle -
Number of replies: 0

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?