Bash script that runs command-line repeatedly