Linked Questions

1 vote
1 answer
105 views

Scheduled task to save my notebook every 30 seconds? [duplicate]

I keep crashing Mathematica and losing cells and textual data that I'm typing. Instead of having to remember to hit command+s all the time, I'd like a scheduled task to save my notebook every 30 ...
user5601's user avatar
  • 3,790
604 votes
19 answers
158k views

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
43 votes
4 answers
2k views

How can I set up a versioning system within a notebook?

Since the Frontend crashes a lot, for important work it would be nice to have the notebook automatically branch and save itself every so many minutes. For instance, commands like StartSavingCopies[5]...
M.R.'s user avatar
  • 31.8k
14 votes
3 answers
31k views

Is it possible to recover an unsaved notebook after closing it?

I just Ctrl-Alt-Deleted out of Mathematica after I crashed it while running. I had not saved it all day and had done quite a lot of work on it. When I reopen the file, it shows a version with none of ...
Shane's user avatar
  • 1,033
29 votes
2 answers
1k views

Saving my code before cell evaluations: Insurance against front end hanging

I guess my programming working style is not unique. I develop programs one cell at a time, and when I have some confidence about what I did, I put all my mess together refining the code, building up ...
Dr. belisarius's user avatar
7 votes
2 answers
2k views

Why isn't autosave enabled by default?

While I've come across several ways to implement/enable autosave (see: Is there a notebook autosave frequency configuration?, Saving my code before cell evaluations: Insurance against front end ...
Alexander Riccio's user avatar
6 votes
1 answer
3k views

How to kill the kernel process from the command line without killing the frontend?

Sometimes the kernel hangs and I'd like to see if I can kill the math-kernel process without destroying my front-end session and losing the changes in my unsaved notebook!
M.R.'s user avatar
  • 31.8k
2 votes
0 answers
618 views

Why Mathematica 11.1 crashes without chance to save? [closed]

I am getting really frustrated with Mathematica 11.1. It crashes spontaneously during calculations, typing, editing expressions, etc. In previous versions you could kill the kernel process and still ...
Aus Man's user avatar
  • 181
2 votes
0 answers
129 views

How to stop autosaving? [closed]

Is there a notebook autosave frequency configuration? I made my MMA file to autosave, it was nice for a little bit. However, now it automatically saves every 10 seconds, and try to save every time I ...
Saesun Kim's user avatar
  • 1,830
4 votes
0 answers
84 views

Feedback for my autosave-script

last evening Mathematica crashed and hours of work were gone, because I forgot to save my notebook. During homework today I just pressed Ctrl+S every few minutes, to make sure that I don't loose my ...
user avatar
0 votes
1 answer
55 views

Set the ClosingSaveDialog to False

I would like to stop Mathematica from showing the "Save Changes To" dialog whenever I try to close a notebook. I tried changing this from the Option Inspector by setting the losingSaveDialog -> False ...
Patrick.B's user avatar
  • 1,543
1 vote
0 answers
64 views

How to use export and schedule tasks to backup entire contents of an notebook at regular time intervals?

I am sorry I don't have any code to share so I would like your ideas. Although there is an AutoSave feature in Mathematica it lacks usefulness as it cannot be ...
Jules Manson's user avatar
  • 2,487
0 votes
0 answers
39 views

Please help validate autoSave function or refactor for better performance

I finally have my autoSave[] function that appears to work. Although it does automatically save file the DateString (dynamic in-...
Jules Manson's user avatar
  • 2,487
1 vote
0 answers
32 views

Is there a way to count quantity of evaluations (this preferred) or edits in a cell since last notebook save?

Abstract The goal is to use this to create an autoSave[evals_:5]:=Module[{}, save after set number of evaluations or edits have occured...]. I asked a similar ...
Jules Manson's user avatar
  • 2,487