mirror of
https://github.com/moodle/moodle.git
synced 2025-05-14 20:26:19 +02:00
When working against external services it can be advantageous to not have automated tasks all hit the service at the exact same time from many different installations. This change allows the use of 'R' in hour/minute fields of the scheduled task definition so a task will be installed with a 'random' hour/minute value for these sort of occasions. Note that the task will be installed in the database with a defined time, this simply randomises the time chosen when loading from the definiton.