python - How do I cron an ipython jupyter notebook's cells? -


i have ipython jupyter notebook i've developed , run django 1.8 with:

manage.py shell_plus --notebook 

within notebook have written data analytics , reporting modules produce csv , html output via petl , pandas.

i'd automate notebook in such way can cron notebook cells execute , serve static html output, don't see way run cells within notebook without human driving process, i.e. cron.

nbconvert has --execute flag run notebook before converting format.

so instance, run notebook , convert static html:

ipython nbconvert --execute --to html mynotebook.ipynb 

if want run , save results ipynb file, can use --to notebook.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

php - How do you embed a video into a custom theme on WordPress? -