Skip to content Skip to sidebar Skip to footer

Run Jupyter Notebook Out Of Jupyter Environment

I have a Jupyter notebook containing python and R scripts as well as magic commands. What I need is to schedule a task using Windows Task scheduler that somehow triggers run of thi

Solution 1:

It is perfectly possible to do this

Create a bat file that you can reference in the windows task scheduler.

Code as follows:

cd C:\path to your notebook jupyter nbconvert --to notebook --execute NOTEBOOKTOEXECUTE.ipynb

I needed to include the path, as the console would be run from the system path and thus unable to find the notebook.

Post a Comment for "Run Jupyter Notebook Out Of Jupyter Environment"