What's cleaning /tmp on macOS?

Have you ever wondered how /tmp is cleaned on macOS? I did and went on a quick exploration. Here's what I found. launchd and launch daemons Launch daemons are background processes that can perform any task we define. And launchd is the macOS system-wide and per-user daemon manager which is started by the kernel during the system boot process. It manages processes, both for the system as a whole…