I want to run a command at something like 1 second intervals (the timing isn't at all critical), it's a background task with no screen output.
So I want something like 'watch' but which will run without a terminal, and I also want to be sure that the command will always get run. Thus something like a loop in bash with a 'sleep 1' in it isn't suitable because if the command dies it won't restart.
I.e. it's a cron job with a 1 second repeat rate and non-critical timing, any ideas anyone?