If you are using *nix, then you can white your watching-logic as usual perl program, and then launch it via :
watch my-script.pl my-arg1 my-arg2
By default, watch re-launches the program every 2 seconds, and clears the screen.
In reply to Re: run command every x seconds
by basiliscos
in thread run command every x seconds
by amboxer21
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |