Auto run daily option in Configurable Reports

Auto run daily option in Configurable Reports

by Dot Waterhouse -
Number of replies: 8

Hi all

I have some excellent SQL reports set up in the Configurable Reports block and want to be able to have them scheduled to run and email out to an admin email.

The Auto run daily option looks promising

auto

but:

- you don't seem to be able to select a time

- I don't know where the report is going to eg is it parked in a folder and overwritten each day?

- I can't see what email it is being sent to - if it is being sent to an email?

Any assistance greatly appreciated.

Regards

Dot

Average of ratings: Useful (2)
In reply to Dot Waterhouse

Re: Auto run daily option in Configurable Reports

by Michael E -
Picture of Core developers Picture of Testers

I have the same question. Did anybody figure this one out yet?

In reply to Michael E

Re: Auto run daily option in Configurable Reports

by Elizabeth Dalton -

The time of day is configured in the block administration settings:

.../moodle/admin/settings.php?section=blocksettingconfigurable_reports

I'm still trying to figure out where the reports get saved and whether they can be emailed automatically.

I'd also like to be able to run some reports weekly instead of daily-- I'm trying to figure out if the schedule option is a component/plugin or is integral to the block.

In reply to Elizabeth Dalton

Re: Auto run daily option in Configurable Reports

by Elizabeth Dalton -

The email feature is implemented here:

https://github.com/nadavkav/moodle-block_configurablereports/commit/92a4677d8887409427642f6c7428b22c7147a189

I don't know if or how it implements with the scheduled report feature. The email feature seems designed to send emails to users defined as rows in the report, using information from that user's report row. It doesn't seem to be intended to use to send the whole report to someone.

Average of ratings: Useful (1)
In reply to Elizabeth Dalton

Re: Auto run daily option in Configurable Reports

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Our similar report https://moodle.org/plugins/view.php?plugin=report_customsql can do weekly or monthly, and can email any scheduled report.

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Auto run daily option in Configurable Reports

by Elizabeth Dalton -

Yes, but they are only available to administrators... Configurable Reports can be made available to instructors without also giving instructors access to all administrative reports.

Average of ratings: Useful (1)
In reply to Elizabeth Dalton

Re: Auto run daily option in Configurable Reports

by Ben Haensel -

I have the option selected to auto run an insert SQL report, yet it doesn't appear to have run.  I have changed the time in admin settings.  Have you had success with scheduling reports?

Average of ratings: Useful (1)
In reply to Dot Waterhouse

Re: Auto run daily option in Configurable Reports

by Elizabeth Dalton -
Just a note -- I have a developer looking into porting the scheduling and email distribution functionality from Ad Hoc Queries to Configurable Reports. We will submit proposed changes for review and hopefully inclusion in the Configurable Reports main branch.
Average of ratings: Useful (3)
In reply to Elizabeth Dalton

Re: Auto run daily option in Configurable Reports

by A Smiles -

Hello,

I am looking at the available report options but don't see one that counts currently enrolled users within a time period e.g. How many users were enrolled between 1 month or some other time period. I am just looking for the number of enrolled users across the whole site that are enrolled between dates and not course specific: Could someone point me to which one would carry that out please? Or perhaps help with the query that I would need to use or change?

Thanks

Al