Timed Execution of a Script (second time lucky?)

Klaus Major klaus at major-k.de
Fri Mar 18 10:24:51 EST 2005


Hi Frank,

> Am 18.03.2005 um 15:40 schrieb Frank D. Engel, Jr.:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> on preOpenStack
>   checkTime
> end preOpenStack
>
> on checkTime
>   if (the long date contains "Thursday") and (char 1 to 2 of the time 
> is "10") and (the time contains "PM") then doYourStuff
>   send "checkTime" to me in 60 sec
> end checkTime
>
> on doYourStuff
>   -- stuff to be executed every thursday night at 10:00
> end doYourStuff

but who/what will trigger the trigger then? ;-)

Can't this be done by a simple cronjob?
He asked very naively, yet hoping to be rigth in the end :-D

> On Mar 18, 2005, at 8:56 AM, Gregory Lypny wrote:
>> ...
>> I'm playing with Revolution as a CGI engine with the scripts in 
>> stacks.  I'm wondering if there's a way to have Revolution executive 
>> a script at specified intervals, for example, every Tuesday night at 
>> ten o'clock.
>>
>> Any thoughts?
>>
>> 	Greg

Best from astoundingly sunny germany :-)

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list