[Pkg] Sake : Sake-Scheduler-kph.7.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Thu Dec 18 01:38:39 UTC 2008


A new version of Sake-Scheduler was added to project Sake :
http://www.squeaksource.com/Sake/Sake-Scheduler-kph.7.mcz

==================== Summary ====================

Name: Sake-Scheduler-kph.7
Author: kph
Time: 18 December 2008, 1:38:38 am
UUID: 5c9fab94-2fe3-4041-b600-1fd17fc52921
Ancestors: Sake-Scheduler-kph.6

rename taskRun to runTask

=============== Diff against Sake-Scheduler-kph.6 ===============

Item was added:
+ ----- Method: ScheduledTask>>runTask (in category 'accessing') -----
+ runTask
+ 
+ 	task isSymbol ifTrue: [ ^ self perform: task ].
+ 	
+ 	task value. !

Item was changed:
  ----- Method: ScheduledTask>>run (in category 'executing') -----
  run
  
+ 	workerProcess := [[self runTaskLoggingErrors ] ensure: [ runHistory ifNotNil: [ runHistory add: DateAndTime now]]] fork.
- 	workerProcess := [[self taskRunLoggingErrors ] ensure: [ runHistory ifNotNil: [ runHistory add: DateAndTime now]]] fork.
  
  	self wasRun!

Item was added:
+ ----- Method: ScheduledTask>>runTaskLoggingErrors (in category 'accessing') -----
+ runTaskLoggingErrors
+ 
+ 	[ self runTask ] on: Error do: [ :ex | self log scheduler task: self class name exception: ex printString ]!

Item was removed:
- ----- Method: ScheduledTask>>taskRun (in category 'accessing') -----
- taskRun
- 
- 	task isSymbol ifTrue: [ ^ self perform: task ].
- 	
- 	task value. !

Item was removed:
- ----- Method: ScheduledTask>>taskRunLoggingErrors (in category 'accessing') -----
- taskRunLoggingErrors
- 
- 	[ self taskRun ] on: Error do: [ :ex | self log scheduler task: self class name exception: ex printString ]!



More information about the Packages mailing list