Execute a Jupyter notebook from the console
<p>I have some data analysis steps combined in a Jupyter notebook.</p>

<p>As the data change, I want to be able to</p>

<ol>
<li>Re-run all the cells (to take the new data into account)</li>
<li>Convert to html for viewing</li>
</ol>

<p>I know I can do #2 through <code>jupyter nbconvert</code>, but how do I do #1 without manually interacting with the notebook web interface?</p>