Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 musing on the Monastery: (6)
As of 2020-09-30 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (158 votes). Check out past polls.

    Notices?