Repeating events

Scott Rossi scott at tactilemedia.com
Tue Dec 2 00:39:23 CST 2003


On 12/1/03 10:03 PM, "Bill Vlahos" <bvlahos at mac.com> wrote:

> I have a script that I want to run every day at 5:00 AM and 2:30 PM and
> am having the hardest time figuring out how to work simply and
> reliably.
> ...
> Is there a simple way to track multiple repeating events without going
> bonkers keeping track of multiple send in times? I think I must be
> trying too hard on this but I can't think of a simple way to do it.

Couldn't you just check the time once a minute or so?

  on checkTime
    if the time = "5:00 AM" or the time = "2:30 PM" then doMyStuff
    send "checkTime" to me in 60 seconds
  end checkTime

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list