I'd like to have a script running in the background, which pings a remote host every 10 seconds or so. The script looks something like this:
nohup ping -i 10 www.google.com &
I'm able to initiate the script with an @reboot cron job, following this suggestion. However, the ping doesn't happen in the background and I don't see the script running when I poke around with ps.
Any suggestions much appreciated. Thanks.