Re: [VW] How can image be saved automicly?



Emptist,

>I searched the help and looked for the code but have been find the way
> to save Smalltalk image periodically, say every 10 minutes in VW.
>
> I know how to do this in Squeak, and that helps a lot since I'm lazy
> and I'm using image as database.

[ true whileTrue: [
( Delay forSeconds: 600 ) wait.
ObjectMemory saveAs: ( ObjectMemory imageFilename ) thenQuit: false ] ]
forkAt: 99

should do the trick.

Regards,

Randy


.



Relevant Pages