Does anyone know if the locking framework in Moodle has a way to release a lock? We're having trouble with a scheduled task which crashed halfway through and now won't run ("Cannot obtain task lock").
I tried purging caches but that didn't affect it. I can see there's a release_lock() function in the locking framework, but can't figure out if there's a way to get that to run without writing a custom script.
This is on Moodle 2.8.3+ on RHEL with MySQL (so I think it's using the file locking implementation)