I'm not much familiar with command line. I want to run a jupyter notebook code.ipynb daily with the task scheduler but I'm failing to create a batch file. The code here works but it just opens the jupyter notebook to the directory/folder but it does not run the program. Can you please help me with this.
C:\Users\............\scripts\notebook.bat nbconvert execute C:/Users/.../code.ipynb
you first need to write the name of the program you want to execute, in this case jupyter
.
Your next 'word' tells jupyter what to do, run
.
Your next 'word' tell run what file it wants to run.
You're full command becomes:
jupyter run path_to_notebook.ipynb
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.