#1  
Old 13th December 2007, 02:40 AM
David Guest
 
Posts: n/a
Default OT Waiting for a specific time

What's the best way to have a program wait until a certain hour, and
during the waiting period, consume the least amount of memory and CPU time?
  #2  
Old 14th December 2007, 12:18 AM
Hans Hasenack
 
Posts: n/a
Default Re: OT Waiting for a specific time

David,


I wouldnt start the app at all, and let it get started at the correct
time using the "scheduled tasks" option from the control panel.

Your app however will ahve to be able to perform its task withot any
forther user intervention. (provide params/options on command line)

It takes no resources at all since its not running.

If computer dies and resterts (power loss) app will stuill be started
at correct time...

--
Thanks,
Hans Hasenack (Netherlands)
  #3  
Old 14th December 2007, 12:50 AM
David Guest
 
Posts: n/a
Default Re: OT Waiting for a specific time

Hans Hasenack wrote:
> David,
>
>
> I wouldnt start the app at all, and let it get started at the correct
> time using the "scheduled tasks" option from the control panel.
>
> Your app however will ahve to be able to perform its task withot any
> forther user intervention. (provide params/options on command line)
>
> It takes no resources at all since its not running.
>
> If computer dies and resterts (power loss) app will stuill be started
> at correct time...
>

thanks Hans ...
  #4  
Old 14th December 2007, 12:57 AM
Hans Hasenack
 
Posts: n/a
Default Re: OT Waiting for a specific time

> Hans Hasenack wrote:

rereading my message reveils my keyboard needs replacement... or do I
need replacement maybe


--
Thanks,
Hans Hasenack (Netherlands)
  #5  
Old 14th December 2007, 02:34 AM
Malcolm Cheyne
 
Posts: n/a
Default Re: OT Waiting for a specific time

David

I just read a post on Borland 3rd party. here is the link that may be what
you are looking for.

Visit http://www.sicomponents.com/taskscheduler.html to find out more about

--

Malcolm
Townsville, Australia



"David Guest" <dpguest@bestweb.net> wrote in message
news:475fffe1@nexus-vkpb9bih5.Nexus.local...
> What's the best way to have a program wait until a certain hour, and
> during the waiting period, consume the least amount of memory and CPU
> time?



  #6  
Old 14th December 2007, 02:44 AM
David Guest
 
Posts: n/a
Default Re: OT Waiting for a specific time

Malcolm Cheyne wrote:
> David
>
> I just read a post on Borland 3rd party. here is the link that may be what
> you are looking for.
>
> Visit http://www.sicomponents.com/taskscheduler.html to find out more about
>

looks interesting ... thanks, youngster
  #7  
Old 14th December 2007, 11:38 AM
Malcolm Cheyne
 
Posts: n/a
Default Re: OT Waiting for a specific time

> looks interesting ... thanks, youngster

<blush> that's all right "grandad" ;-)

--

Malcolm
Townsville, Australia


  #8  
Old 14th December 2007, 03:13 PM
Q Correll
 
Posts: n/a
Default Re: OT Waiting for a specific time

Malcolm,

| <blush> that's all right "grandad" ;-)

How many of us here are great-grand-dads?

--
Q <3X>

12/13/2007 20:17:58

XanaNews Version 1.17.5.7 [Q's salutation mod]


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time David Guest nexusdb.public.support.sql 2 22nd March 2007 03:14 AM
To those sitting on the fence waiting for the perfect release... Eivind Bakkestuen [NDD] nexusdb.public.support.sql 14 24th January 2007 10:42 PM
Where and Time David Guest nexusdb.public.discussions 2 30th August 2006 06:34 AM
Designing SQL to select specific relations Lauchlan M nexusdb.public.support.sql 2 27th April 2006 10:10 PM
Time in SQL David Guest nexusdb.public.support.sql 8 20th April 2004 04:28 PM


All times are GMT +11. The time now is 04:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.