logoalt Hacker News

dofm • today at 11:57 AM • 1 reply • view on HN

Unless you want to run something every thirty seconds.


Replies

bayindirh • today at 12:00 PM

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.