Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Doing every X seconds

by vinoth.ree (Monsignor)
on Aug 03, 2018 at 04:38 UTC ( #1219763=note: print w/replies, xml ) Need Help??


in reply to Doing every X seconds

I hope you need threads

Create two threads,
1.First thread for normal flow (print("Doing Jobs";))
2.Second thread for (Checking FILE...Every 5 seconds)

All is well. I learn by answering your questions...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2020-05-27 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (152 votes). Check out past polls.

    Notices?