## Activities: Scheduler

mod_scheduler
Maintained by Henning Bostelmann
An appointment scheduler for planning face-to-face meetings between teachers and students. Teachers can set up time slots, and students can choose one of these on Moodle.
2591 sites
58 fans

The Scheduler module helps you in scheduling appointments with your students. Teachers specify time slots for meetings, students then choose one of them on Moodle. Teachers in turn can record the outcome of the meeting - and optionally a grade - within the scheduler.

Group scheduling is supported; that is, each time slot can accomodate several students, and optionally it is possible to schedule appointments for entire groups at the same time.

Please note that minor updates to this module will normally be released on github only.

For help and discussion about the module, please use the Scheduler forum on moodle.org.

For an earlier version supporting Moodle up to release 1.9, see the Scheduler 1.9 module.

### Awards

• Thu, 31 Aug 2017, 11:01 PM
Hello Olga,
Scheduler is not intended to be used by guests. In order to use Scheduler, users will need to log in with a full user account.
• Fri, 1 Sep 2017, 8:52 AM
Hi Olga
You may let guests see available slots by making the course available to guests. They will see all available slots, but they won't have a "book" button. You may add a comment in the "introduction" section with a link to the login page.
• Sat, 2 Sep 2017, 3:29 AM
Hi Henning and Sebastien,

Thank you for your scheduler package. I have a question. After testing the scheduler package for 4 months, it appears if the slots are more than 10,000 then on the student page (studentview.php), the table of slots would not be displayed and it is actually a big white page under the scheduler name. I know the page dies out because I can see the scheduler name but under it, it is a big white page.

In the file scheduler_instance.php, I know fetch_slot function returns the list of slots that are displayed on student page. I have modified query in function so it only queries slots for next 7 days, this does remedy "a bit" of the query time. My question is, is there another way of query the slots faster?

Thank you!

Kevin
• Tue, 5 Sep 2017, 3:12 AM
Hi Kevin
I have actually never tested Scheduler with so many open slots at the same time (our own use case hardly ever needs more than 100). The limit you see is (likely) either related to the available PHP memory or to a restriction on the database side. I suspect the latter. In that case, only an investigation on your specific database can show what the restriction is and whether a speedup is possible (e.g. by adding a suitable database index).
• Wed, 4 Oct 2017, 5:40 PM
Hi Henning,

I've just submitted a PR on GitHub to propose an implementation of core_calendar notifications in Moodle 3.3's new core block_myoverview block. Details are in the PR.

Would you mind having a look at it?

Thanks
• Fri, 6 Oct 2017, 7:39 PM
Hi Nicolas, thanks for your patch (and rest assured that I do get notifications from github). I will have a look at it when I find the time. The next major release of Scheduler is not due before Moodle 3.5.
• Mon, 13 Nov 2017, 4:45 AM
Note to plugin users: I believe that version 3.3.0 works with Moodle 3.4, and have marked it as such. Some individual behat test cases seem to fail, but as far as I could find out, these are problems entirely on the side of the test tool, and not with the actual functionality.
• Fri, 1 Dec 2017, 10:19 AM
Hi All,
Would like to report a bug since I haven't seen it reported here (as far as I checked). When I delete a Scheduler activity that contains appointment(s), as a result the appointment slot does not get removed from its table.
Thus when create a new appointment in another scheduler activity in the same, if use identical date and time as the deleted one, I will get a conflict error and it doesn't get created unless ignore the conflict which is not preferable . Tested on 3.3

Cheers.
• Fri, 1 Dec 2017, 10:51 AM
lib.php
function scheduler_delete_instance($id) { ...... • Fri, 8 Dec 2017, 7:22 PM Hi, I noted an issue... A teacher in my university uses the scheduler activity to ask students to register for an exam. There is only one slot and over 300 students. When he wants to edit the slot (url like scheduler/view.php?id=xxx&what=updateslot&subpage=allappointments&offset=-1) the edit form doesn't show (banner and course header are rendered but neither navigation drawer, activity content nor footer). Any hint? Cheers • Mon, 11 Dec 2017, 6:01 AM We are currently using version 3.1.2 (Moodle 3.1) and have found a minor issue. When a student deletes an appointment slot they previously booked it disappears from the list and the slot is freed up for another user however the user who deleted an appt (for tomorrow) over a week ago still got a reminder email of her appt with me this morning (reminder for tomorrows meeting). It seems the reminder info isn't purged on deleted slots maybe? Regards, Yvonne • Fri, 29 Dec 2017, 12:35 AM Hi Henning et al, Thank you for reading this message. I have a question, the current version of Scheduler can only add people to an appointment upon creation. In the future, will you guys implement a version that you can add people to recurring appointments upon creation? Thank you! • Tue, 9 Jan 2018, 2:34 PM Hi Henning, Our teachers love the scheduler plugin a lot. They use this plugin to let students to book online tutorials. There's one issue if you could help to solve, it will be really great. When teachers add slots, the system will automatically save the location when the teacher inputs at the first time. Then this location will be the default location for that teacher. But the location will be changed frequently. If the teacher forget to change the default location, students will go to the wrong room. The teachers prefer to have the location field be blank. Can you help with this? Many thanks. Best wishes, Lina • Tue, 23 Jan 2018, 2:33 AM Hi Henning, longtime no exchanged... how are you going ? i am asked by a customer to complete the scheduler with moodle WS, covering the essential crude questions about scheduler instances, slotsand appointement. Would you be ok for integrating the resulting externallib.php and db/services.php files in the scheduler distribution ? Cheers ! Valery • Wed, 7 Feb 2018, 2:33 AM Dear Sir, when i want install plugin i have this error how can i solve it please Validating repository_scheduler ... خطاء [Error] Unsupported syntax detected in version.php file [$module]
Installation aborted due to validation failure