Maybe you could make a target unit file like “jobs.target” and in your timer unit files do “WantedBy=jobs.target”. Then you could do “systemctl start/stop jobs.target”
First, list and save the currently active timers:
```bash
systemctl list-timers --state=active --no-legend | awk '{print $NF}' > /tmp/active_timers.txt
```
Stop all active timers:
```bash
sudo systemctl stop $(cat /tmp/active_timers.txt)
```
Later, restart the previously active timers:
```bash
sudo systemctl start $(cat /tmp/active_timers.txt)
```
sherburt3|9 months ago
r2_pilot|9 months ago
Stop all active timers: ```bash sudo systemctl stop $(cat /tmp/active_timers.txt) ```
Later, restart the previously active timers: ```bash sudo systemctl start $(cat /tmp/active_timers.txt) ```
NeutralForest|9 months ago
samtheprogram|9 months ago