> For the complete documentation index, see [llms.txt](https://docs.eskool.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eskool.fr/en/daily-tasks/timetable/timetable.autogenerate.md). Agents can also search and read this documentation through its [MCP server](https://docs.eskool.fr/~gitbook/mcp).

# Auto-Generate Timetable

Let Luwal build a complete, conflict-free schedule in minutes.

* What used to take days now takes minutes
* No manual coordination — Luwal handles availability automatically
* Classes are distributed evenly so no teacher or room is overloaded

### Before You Start

Make sure the following are configured:

* [**Subjects**](https://docs.eskool.fr/en/school-setup/classes-programs/subject.manage.md)
* [**Teachers**](https://docs.eskool.fr/en/school-setup/staff/staff.subjects.md) assigned to their subjects
* [**Classrooms**](https://docs.eskool.fr/en/school-setup/school-year/room.create.md)
* [**Holidays**](https://docs.eskool.fr/en/school-setup/school-year/datespan.create.md) for the school year

***

### 1. Open Timetable

From the main dashboard, click **Timetable**. In **Groups**, select the class. At the top of its timetable, click the auto-generate icon (**Auto generate schedule planning**). The **Schedule Generation** window opens.

![Opening the Timetable module.](https://4009204405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLJL6jrNxyIAefKVOqlgh%2Fuploads%2Fgit-blob-ca58ada4188552032a4c05f53ee122b16ded8f10%2Fspace.admin.en.png?alt=media)

### 2. Set Class Loads

Set the period with **From** and **To**. Then click the **plus icon (+)** to open **Timetable Load**, and fill in:

* **Discipline** and **Activity**
* **Time Preference** – When the sessions should take place (e.g. morning)
* **Total Hours Per Week**, **Maximum Hours Per day** and **Minimum Session Duration**

Click **Save**. Repeat for each subject. Double-click a load to change it.

![Setting class loads.](https://4009204405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLJL6jrNxyIAefKVOqlgh%2Fuploads%2Fgit-blob-bfae3109dc479519c5bb04c7cf9e20540615001a%2Fclass.add.en.png?alt=media)

### 3. Configure the Generator

Under **Teachers** and **Classrooms**, select the teachers and rooms to include in the schedule.

![Configuring the generator.](https://4009204405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLJL6jrNxyIAefKVOqlgh%2Fuploads%2Fgit-blob-92593790727c6f21235dfd5069ed13be2e77d93f%2Ftimetable.auto.configure.en.png?alt=media)

### 4. Generate the Schedule

Click **Generate Planning**. Luwal shows the result in **Generated Schedule**.

![Generated timetable preview.](https://4009204405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLJL6jrNxyIAefKVOqlgh%2Fuploads%2Fgit-blob-55e68e60b3765084dca4bf132b287c20bcd2a182%2Ftimetable.auto.preview.fr.png?alt=media)

### 5. Review and Save

Review the generated timetable, then click **Accept & Save**. The sessions are added to the class timetable.

![Saving the timetable.](https://4009204405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLJL6jrNxyIAefKVOqlgh%2Fuploads%2Fgit-blob-e3c8f268978d33ae5ded528e0577404cede36628%2Fschedule.view.en.png?alt=media)

### Video tutorial

Watch a short walkthrough on YouTube: [Auto-Generate a Timetable](https://www.youtube.com/watch?v=rMsHR8ec1VY)
