This module prevents resources of one constant type (e.g. teachers or class) to have more than the set maximum number of events scheduled per day.
For each resource the number of weights added is equal to the number of events scheduled in a day that exceeds the maximum number (in the example below if a teacher has 7 events scheduled on one day, this module will add 2 weights)
If you would like to use this module for more than one resource type, you can safely include two <module> tags with different "resourcetype" options.
The following example will make this module check if each teacher has no more than 5 events scheduled per day.
<module name="maxperday" weight="60" mandatory="yes"> <option name="resourcetype">teacher</option> <option name="maxperday">5</option> </module>
Configuration file must define the following resource types in order to use this module:
Use this option to specify the maximum number of events per day, Its contents must be a positive integer.
Use this option to specify a constant resource type for which this module will be in effect.
This module belongs to the following groups:
Tomaz Solc, tomaz.solc@tablix.org