I have a Jupyter noteboook and I\'m trying to set it up in a way so that all cells are ran automatically when the notebook is opened.
This behaviour is different from
The next time you (re)load it, all cells will run and a checkpoint will be saved with their refreshed outputs.
%%html
Note that if you clear the output of the above cell, you have to repeat steps 2 and 3.
You may consider these more appropriate solutions for what you are probably trying to achieve:
You can find a summary of the situation in this article.
Similar questions has been asked before in other sites, but in this googlegroup thread, someone submitted a solution, and the group moderator erased it(!), obviously to preserve life on earth :-) So, be careful with it!