-
Improvement
-
Resolution: Fixed
-
Minor
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_28_STABLE
-
MDL-47221-master -
Sometimes it would be useful to be able to set a 'random' value for the scheduled tasks time value. i.e. When dealing with remote servers, its useful to avoid every single request from automated checks hitting the server at the same time.
What i'd like is define a 'random' minute value for my task, then when the task is installed - Moodle will choose a random time to set it in the database for each Moodle install.
I don't think its necessary for this to be exposed to users (and think its better that its defined in the database as a fixed time), its simply to distribute the timings across Moodle installs.
I need this for MDL-46210 - I can imagine other uses - like converting the updates API checker.
- blocks
-
MDL-46210 Provide option to update installed language packs as a scheduled task
- Closed
- Discovered while testing
-
MDL-44393 Passing invalid value to schedule a task result in invalid notification
- Closed
- has a non-specific relationship to
-
MDL-73765 Scheduled task are randomly allocated to 0 - 23 minutes range only
- Closed