Mass Edit course end dates

Mass Edit course end dates

by Murray Murphy -
Number of replies: 2

I'm attempting to update several different courses simultaneously to set their end dates to the end of the year. I've been using course upload to use CSV files to make these changes, but whenever it changes the date, it also breaks the entire unit, causing it to display an error ("Coding error detected, it must be fixed by a programmer: Invalid string component. Please check your string definition").

What's a good method for changing course dates, or can you provide me with an explanation for how to make my current method work? Thank you.

I'm using Snap theme, btw.

Average of ratings: -
In reply to Murray Murphy

Re: Mass Edit course end dates

by Asoc. LiberaTIC -

Hi @Murray. We have no experience on "course upload" functionallity but we automate a lot of moodle tasks by means https://moosh-online.com/commands/ (it needs you're having access to server console to install it and execute it).

Concretely with your problem, I'd use the command https://moosh-online.com/commands/#course-config-set

WARNING! Moosh is a very powerful tool but, at the same time, a responsability. Let starting on test environment or with a few courses.

RECOMMENDATION! Take a backup just previously

In reply to Asoc. LiberaTIC

Re: Mass Edit course end dates

by Murray Murphy -
Thanks for the suggestion. Can I use Moosh to specifically change units by giving it a list of unit shortnames? Or by category? I don't want to change all end dates, just a large portion of them.