How to take backup of a notebook and export it automatically every each 5 minutes?


Question

I want to let Mathematica automatically make a backup of an active notebook and export it to somewhere else (something like Wolfram Cloud or Google Drive) frequently.

"frequently" means whatever it is convenient, like "every 5 minutes", "every time the user manually saves it by Ctrl + S", and so on.

Is there any way to do it? I use Mathematica version 12.0 on Windows 10.

Any information would be appreciated.

Background

I’ve experienced losing the edit on my notebook before by an inevitable accident. I mistakenly evaluated the cell which included infinite loop and I had to force stopping Mathematica from task manager, because it froze. The next time I launched Mathematica and opened the notebook, even my edit I did save by Ctrl + S before the infinite loop started was somehow lost. I want to avoid that by frequent backup and I want to confirm it by automating it.

How I make my Jupyter notebook script locked?

I have multiple scripts using the IRkernel on Jupyter notebook. I have to put them on a server, but I want to make it not editable and not deletable, it is kind of lock. The aim is that people can only run the script. I have already tried things, mainly by modifying the metadatas like that :

{
"deletable": false,
"editable": false,
"trusted": true }

But when it would be on the server, others people can modify the metadatas, so it is not really what I want. Is there a way to make my script fully locked and that nobody can editable it ?

How to preserve the Checkbox value after closing the notebook

I am trying to create a to-do list style for the stylesheet. The goal is to have a CellDingbat that is a check box. And after pressing enter, a new cell with a checkbox CellDingbat should be created, just like the style Item.

Initially, I posted the question in another thread, and with the help from @kglr I was able to create a to-do list style that has the desired behavior. Now, to make this to-do list style more practically useful, I would like the state of the Checkbox to be preserved after closing and re-opening the notebook. Can anyone suggest how to achieve this?

Is Exit (no square brackets) equivalent to Quit[] for refreshing the Kernel from within an Evaluation Notebook?

I prefer to use Exit as it conveniently requires fewer key presses over Quit[]. But before I use it regularly I need to know if there any subtle differences between Quit[] and Exit. The Wolfram documentation pages for Quit and Exit appear to be very similar and even call these two functions synonymous but I just need to be sure.

Thanks.

Making a notebook unsavable, so that I don’t accidentally mess up the code

I have an algorithm in a notebook that I don’t want to change. I used it regularly. I’m afraid I might accidentally modify a parameter. I’d like the notebook to be executable, perhaps editable, but permanently unsaveable. I’ve tried to accomplish this byHowev Preferences>Advanced>OptionsInspector>NotebookOptions>FileOptions>Savable->False. However, it appears that this setting is lost when I quit Mathematica. Is there a way to make it permanent>

How can I convert a Classic Slideshow to an ordinary notebook?

I have several Classic Slideshow presentations originally created 3 or 4 years ago. I would like to convert these to ordinary Mathematica notebooks, removing all the slideshow-related paraphernalia including page breaks, etc.

If I simply select Format > Stylesheet > Default, the separate slides are still there, labelled “Slide 1 of 34” etc.. Is it then just a matter of manually removing all the page breaks, or is there more to it?

Related to this, (though it’s not what I want to do at present), what is the best way to convert from a classic slideshow to the newer Presentation style? Will Format > Stylesheet > PresenterTools do the job correctly?