MDL-73293 core_task: Cleanup stale adhoc task metadata

This commit is contained in:
Cameron Ball 2022-03-11 09:50:45 +08:00
parent 5500d143f4
commit cd1a7291ea
5 changed files with 129 additions and 1 deletions

View file

@ -428,4 +428,13 @@ $tasks = array(
'month' => '*',
'dayofweek' => '*',
),
[
'classname' => 'core\task\task_lock_cleanup_task',
'blocking' => 0,
'minute' => 'R',
'hour' => '0',
'day' => '*',
'dayofweek' => '*',
'month' => '*'
]
);