http://www.smalltalkhub.com/#!/~TorstenBergmann/Scheduler

Cheers,

Hernán

2017-09-13 17:36 GMT-03:00 Daniel BLANC <daniel.bl...@gmail.com>:
> 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