how to run a python jupyter notebook daily automatically

后端 未结 7 900
无人共我
无人共我 2020-12-14 08:35

I have a code in a python jupyter notebook but i need to run this every day so I would like to know if there\'s a way to set this, I really appreciate it

7条回答
  •  悲&欢浪女
    2020-12-14 09:09

    It's better to combine with airflow if you want to have higher quality. I packaged them in a docker image, https://github.com/michaelchanwahyan/datalab.

    It is done by modifing an open source package nbparameterize and integrating the passing arguments such as execution_date. Graph can be generated on the fly The output can be updated and saved within inside the notebook.

    When it is executed

    • the notebook will be read and inject the parameters
    • the notebook is executed and the output will overwrite the original path

    Besides, it also installed and configured common tools such as spark, keras, tensorflow, etc.

提交回复
热议问题