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.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
Also watch(1) |
|||||
|
|
Here's a small bashscript that would do that:
|
|||
|
|