Sleep()?

S

Steve

Hi,

Is there some way to implement a timer in python? I want to open a
process and pipe a log out of it every 10 minutes. How can I do this? Thanks


Steve
 
B

BW Glitch

Steve said:
Hi,

Is there some way to implement a timer in python? I want to open a
process and pipe a log out of it every 10 minutes. How can I do this?
Thanks

Check time.sleep()

--
Glitch

-----BEGIN TF FAN CODE BLOCK-----
G+++ G1 G2+ BW++++ MW++ BM+ Rid+ Arm-- FR+ FW-
#3 D+ ADA N++ W OQP MUSH- BC- CN++ OM P75
-----END TF FAN CODE BLOCK-----

"Blehhh! To think that a warrior must become a ... a rat patrol."
-- Dinobot, "Coming of the Fuzors" II
 
M

Matt Gerrans

Steve said:
Is there some way to implement a timer in python? I want to open a
process and pipe a log out of it every 10 minutes. How can I do this?
Thanks

I think the Timer class in the threading module sounds like exactly what you
want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,478
Latest member
ReginaldVi

Latest Threads

Top