Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to set a time interval in web batch script?

by spadacciniweb (Curate)
on Oct 24, 2013 at 20:11 UTC ( [id://1059543]=note: print w/replies, xml ) Need Help??


in reply to How to set a time interval in web batch script?

Try
while(<IN>) { if (...) { ... sleep 60; } }

(($_="Mzz ojjdloobnf jt uvy5502383")=~y~b-zg2-5c96-81~a-z0-9~s)=~s~~~s; print

Replies are listed 'Best First'.
Re^2: How to set a time interval in web batch script?
by Anonymous Monk on Oct 24, 2013 at 20:14 UTC
    Aha, I did not know that!
    Thank you!
      Hi again,
      so, the script seems to work now with an added interval.
      May I also ask, in case it is possible:
      If the service/tool I want to run via its webserver, does not send the result to the screen, but to my email, is there any way to somehow "capture" the result and not get my mailbox flooded with email responses from the server?
      For example this tool, which I need to also run:
      http://gpcr.biocomp.unibo.it/oldpredictors/spep/

      and it does not run unless you specify a mail address to get the results...

        In this case, no, there isn't a way to circumvent this. You could always set up a dummy account in gmail to send the results to, and then download the results from there. There is probably a more sophisticated way to process the emails using a separate service as well, but I'll be no help there :).

        Bioinformatics

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found