🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19161

Pausing / Delaying Program Execution Help?

#19161
From: Sterling Moses
Date: Fri, 27 Feb 1998 00:00
16 lines
997 bytes
I have a program which checks a POP3 box for email, when it sees there is
email waiting it parses this into a database.

How can I suspend the program for a period of time and say have it check
every 10 seconds, and do this internal to the program.

I tried to use Threads but I am not getting the results I would like, but am
also very new to java. I have a background in C/C++, but just new to java.

Any help, anything would be much appreciated.

Post comments here, or send them directly to sterling@cecoh.com


Sterling.
Technical Details
Message-ID: <6d75od$8lp2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b2de1f6fa0118bb7,start
X-Google-Attributes: gidf74b3,public
From: "Sterling Moses" <sterling@cecoh.com>
Subject: Pausing / Delaying Program Execution Help?
Date: 1998/02/27
Message-ID: <6d75od$8lp2@forums.borland.com>
X-Deja-AN: 329258090
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: CECO Management Group
Newsgroups: borland.public.jbuilder.java.language