Skip to content

Instantly share code, notes, and snippets.

@Uko
Last active June 17, 2018 10:48
Show Gist options
  • Save Uko/5163156 to your computer and use it in GitHub Desktop.
Save Uko/5163156 to your computer and use it in GitHub Desktop.
Autosave Pharo image every 10 mins
[
Transcript open.
[true] whileTrue: [
WorldState addDeferredUIMessage: [
SmalltalkImage current saveSession].
(Delay forSeconds: 60) wait]
] forkNamed: 'autosave'
@feav
Copy link

feav commented Jun 17, 2018

How can i stop it after. it's not 10Mins but only one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment