Avoid a notice if there aren't any schedules
Make sure the directory we are about to pass to RecursiveDirectoryIterator is readable
chmod the custom path so it's always possible to remove it