Article View: borland.public.jbuilder.java.api
Article #1220Re: Periodical execution of function
From: Nazim Akperov
Date: Mon, 15 Apr 2002 14:29
Date: Mon, 15 Apr 2002 14:29
28 lines
2004 bytes
2004 bytes
Remote sysem uses Dialup but is needed to be configured remotely through predetermined port. How to find this pc on the net if I need to connect to it? Check my email and get IP address. "Joi Ellis [TeamB]" <joi@aravox.com> wrote in message news:3cb985b0_2@dnews... > Nazim Akperov <nazim_akperov@msn.com> wrote: > > Dear newsgroup users and TeamB members, please help me with advise > > How to create periodical function execution in my program? > > For example I need function to get local IP address every 5 minutes and send > > it to my email every 5 minutes? > > My first thought is to use the Timer class to run a clock thread which will > periodically wake up and trigger the email. > > Silly question time: Why do you need to do this? > > -- > Joi Ellis (TeamB) http://www.teamb.com/ > No direct email, please. > For best results, post on news server newsgroups.borland.com! > Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html > Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID:
<3cba3b3c_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!supernews.com!news-out.visi.com!hermes.visi.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3cb92adc_2@dnews> <3cb985b0_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,bad8dc1d5c3bc06f X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-04-14 19:32:39 PST From: "Nazim Akperov" <nazim_akperov@msn.com> Newsgroups: borland.public.jbuilder.java.api References: <3cb92adc_2@dnews> <3cb985b0_2@dnews> Subject: Re: Periodical execution of function Date: Mon, 15 Apr 2002 07:29:45 -0700 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 62.217.137.126 Message-ID: <3cba3b3c_1@dnews> X-Trace: dnews 1018837820 62.217.137.126 (14 Apr 2002 19:30:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!supernews.com!news-out.visi.com!hermes.visi.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews