|
|
|
|
|
by bayindirh
22 days ago
|
|
You can run the command with time, get the real field, subtract from 30, sleep that amount and run the command again in a script, and call that every minute from cron. If the command is really instant you can do "command & sleep 30; command". heh. |
|
If the task might sometimes take 30 seconds to run you have extra faf debouncing it to avoid race conditions, with this solution or yours, which IIRC systemd timers will deal with (by being configurable to not run the next instance if the previous has not yet completed).