Make cron a bit more rebust by changing the way the require is done. Merged from MOODLE_16_STABLE.
Make cron a bit more rebust by changing the way the require is done. Merged from MOODLE_16_STABLE.

dilawar/moodle