
Yes,It works when cron.php executed in the fresh install. But not works in my website (update from old, executed cron.php)

Yes,It works when cron.php executed in the fresh install. But not works in my website (update from old, executed cron.php)
Good to hear.
The problem with your upgraded website is likely to be the moodle bug that's fixed in Moodle 5.02. However, please check:





Firstly please check:
If all those are OK, try the remedy suggested in the lost posting by @helmo-nico here: https://github.com/trampgeek/moodle-qtype_coderunner/issues/255#issuecomment-3183116731