News for hackers. Stuff that matters.
Re:How to Run CRON Jobs in Postgres Without Extra Infrastruc... by r2_pilot on Friday May 30, 2025 @07:40PM (#44140766)
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) ```

There are no comments on this comment yet.