15.12.2016, 10:53
Looks like this function is available only to GUI, you can add it to common functions to use in your scripts.
Code:
function clearschedulers()
local files = io.ls('/tmp')
for _, file in ipairs(files) do
if file:find('lm-scheduler-', 1, true) then
os.remove('/tmp/' .. file)
end
end
end