Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: run command every x seconds

by basiliscos (Pilgrim)
on Feb 27, 2014 at 09:51 UTC ( #1076371=note: print w/replies, xml ) Need Help??

in reply to run command every x seconds

If you are using *nix, then you can white your watching-logic as usual perl program, and then launch it via :

watch my-arg1 my-arg2

By default, watch re-launches the program every 2 seconds, and clears the screen.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076371]
[LanX]: still can't believe this, must h have been a misunderstanding
[choroba]: fortunately, I haven't the need to verify this
[choroba]: haven't had
[choroba]: but most tourist here are form the US, France, and Russia
[Your Mother]: The best whiskey in Thailand is Vietnamese, is all I know.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-02-26 04:58 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (371 votes). Check out past polls.