If I start a watch command in the background, it stops. Bringing the job to the foreground makes it run again, but I want this to run in the background.
$ watch ./do-something.sh &
[1] 97673
[1]+ Stopped watch ./do-something.sh
I expect this job to be running in the background, but it isnt
$ bg 1
[1]+ watch ./hello.sh &
[1]+ Stopped watch ./hello.sh
That doesn't do anything either. Starting the job in the foreground and moving in the background with Ctrl-Z and "starting" it with bg 1 doesn't work either.
Is this a "feature" of watch? I just want to periodically run something, every few seconds, and I don't particularly care about the output. (cron is not the right tool for this, fwiw).