how to make things happen at specific times

Peter Alcibiades palcibiades-first at yahoo.co.uk
Wed Apr 8 04:00:16 EDT 2009


Sarah, thanks!  The thing that still puzzles me is this.  They come in and
start up the stack.  They may do this every day, or they may leave it
running for a few days.  Every day at 4pm it should send an email.

So yes, you could check the time when the stack is started, subtract the
time from 4pm, and then wait that number of seconds.  But what happens the
next day at 4pm?

AHA,HE SEES IT!  

You need a loop.  First on startup find the time to 4pm.  Then what happens
at 4pm is to send the email, wait a couple of hours, and invoke the 4pm
script again....  Yes, it should do it.  Thanks.

-- 
View this message in context: http://www.nabble.com/how-to-make-things-happen-at-specific-times-tp22942579p22945285.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list