My simple use case is:
a. create an instance of #Schedule
b. Use the schedule to write a string to the Transcript based on the contents of the schedule.
|sampleSchedule rightNow cr |
rightNow := DateAndTime now.
cr := String cr.
sampleSchedule := Schedule starting: rightNow ending: rightNow + 20 minutes .
sampleSchedule schedule: {Duration minutes: 1. Duration minutes: 3}.
sampleSchedule scheduleDo:[:each |Transcript show: each asString, String cr].
>> This results in all of the schedule items being written to the Transcript immediately, rather at the schedule time for each.
How to I use a schedule to run a block at the time specified by the schedule.
I have looked at #Delay, but it has a limit of ~six days which will not work for me.
Thanks,
-jrm