I have a small script, that I want to constantly run until I Ctrl+C. I saw a few suggestions of using watch, and the small examples I've seen work fine, but I can't get it to work for me.Here's my scriptecho -en \nQueued forks: $(( $(ls -lash /var/www/data/forked/* | wc -l) - 10 ));echo -en \nRunning fork processes: $(ps -ef | awk '$8 ~ /jsfork*/ {print}' | wc -l)\n\n;ps auxfww;if [ -e /var/www/data/logs/fork.log ]then    echo -en \n\nErrors:\n    more /var/www/data/logs/fork.logelse    echo -en \n\nNo errors.\n\nfiAll the examples I've seen have been roughly watch -n x 'do something', but since my script has ' in it, it didn't work just wrapping it around.Is there anyway I can use watch with my script? I'm not sure if OS makes much of a difference in this case, but it's running on Ubuntu 12
Run multiple commands in watch
bash;watch
You can simply place the commands in a file, prepend a shebang (#!/bin/sh), make it executable (chmod +x script.sh) and provide it as argument to watch:watch ./script.sh