Welcome daniel

This sounds like a super cool app. (I have teens at home and well I
know the story).

I remember a calendar triggering system.... but I do not know where it
is. Someone should know.

Stef


On Wed, Sep 13, 2017 at 10:36 PM, Daniel BLANC <daniel.bl...@gmail.com> wrote:
> Hi All,
>
> I'm a very beginner with smalltalk. I am building a small seaside app for
> controlling wifi access of my teenagers kids. In this app I need to start or
> stop the wifi acces at a given time.
> For the moment I'm doing it with an infinite loop in a process, with this
> code:
>
> WifiController >> startScheduler
> ^ SchedulerProcess
> ifNil: [ SchedulerProcess := [ [ true ]
> whileTrue: [ self schedulerApplyAutoStartStopRules.
> 56 seconds wait ] ] forkNamed: 'DanWifiManagerScheduler' ]
>
>
>  I'm wondering if there is a way to do this without this infinite loop ? May
> be there is a class in the standard pharo image that can execute a code
> block at a given time ?
>
> Thanks,
> Daniel

Reply via email to