Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: run command every x seconds

by basiliscos (Pilgrim)
on Feb 27, 2014 at 09:51 UTC ( [id://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-script.pl my-arg1 my-arg2

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-03-28 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found