Open melanietreitinger opened 1 month ago
Automated export / archiving is a request I noticed in the past so I'm glad that you wrote it down here :+1:
There are a few cases we need to consider with this:
That are just some of the questions that came to my mind regarding this topic. I'd be happy to learn more about your (and hopefully also others) requirements for this feature.
Kind regards Niels
"When should the automatic archiving happen?" The first two scenarios could both be options which can be selected by admins. When an old quiz is re-opened it should be treated as any new quiz and all attempts present at the new end of the quiz should be exported.
"What should be archived during automated archiving?" That depends on the settings above:
💡 Since your plugin is not designed for individual exports of attempts, it would be fine to me if we only have the scenario "Once per quiz after it is closed: all attempts as a whole"!
"Should there be a global setting that causes all quizzes to be archived automatically?" -> yes
"Should there be a course category based selection?" -> not important for us, but might be a request from others
"Should individual quizzes be marked for automated archiving?" -> no, not necessary for teachers to configure this
"If automated archiving can happen more than once..." -> no problem if we only export once after the quiz is closed, isn't it?
"Do we need different presets for automated archiving than for manual archive job creation?" -> this might be useful
Thanks for your response!
To me it sounds like for now the following behavior could be a viable first version of this feature:
--
[1]: I'd create a Moodle task for it which is run by cron and therefore is configurable according to the needs of Moodle administrators [2]: Failures can happen if, for example, the server is rebooted during archive generation
Sounds great! 👍
Description
Currently the plugin only generates PDFs when someone presses a button.
It could be useful to have a feature which allows automated exports of quizzes.
There could be a scheduled task which runs hourly(?) and checks for quizzes which have expired and then does the export.
Additional resources and references
No response