static scheduler class with auto cleanup feature