Say if I need to run a command
checkstatus --jobnumber 12345 to check the job status. The command prints out the info to standard output. Is there any way to run this command on shell repeatedly every minute? I wanted to see the latest job status.
Here's a small bashscript that would do that: