Since Moodle 4.4 adhoc tasks have an attemptsavailable field.
Some tasks allow multiple attempts after a failure, other tasks such as course_delete_modules do not (see the retry_until_success function).
This adhoc task will not run again and will still appear as failing in the plugin until we change the value of the attemptsavailable field to 1.
Since Moodle 4.4 adhoc tasks have an attemptsavailable field.
Some tasks allow multiple attempts after a failure, other tasks such as course_delete_modules do not (see the retry_until_success function).
This adhoc task will not run again and will still appear as failing in the plugin until we change the value of the attemptsavailable field to 1.