Squeak 'cron'-like functionality?

Ned Konz ned at bike-nomad.com
Tue Oct 2 21:23:49 UTC 2001


On Tuesday 02 October 2001 12:40 pm, Kevin Fisher wrote:
> Hi:
>
> I did a quick search of the mailing list and didn't see anything that
> jumped out so I thought I'd ask:
>
> Are there any classes within Squeak that facilitate the scheduling of
> a repetative action?  I was thinking more along the lines of CRON-like
> functionality....some way that I could schedule an action to take place
> at a specific time.
>
> I suppose I could get creative with Delays and forking off a background
> process, but I was wondering if anyone knew of a better way.

Sure. Have a Morph's step method look at its scheduled time and current time 
and act if it's appropriate. And you can even display status that way.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com




More information about the Squeak-dev mailing list