I am writing a script that prepares my Linux system for benchmarking. Among other things I want to stop all systemd timer units, and revert this action afterwards.
In short, I need the equivalent of
service crond stop/start.
All I have found so far is
systemctl list-timers and then manually stop each one, and afterwards manually start each. Do you know of any better, more generic solutions?