0

Does anybody knows how to schedule a jupyter notebook every hour or 30 minutes?

I tried to use seekwell (https://app.seekwell.io/) but it did not work for me.

Does anybody have another solution

thanks,

2 Answers2

2

Save your jupyter notebook as .py file

I would like to give credit to @Vincent Stevenson

Go to Control Panel --> Administrative Tools --> Task Scheduler--> Create Task

  1. Task Scheduler, Create Task

  2. Give the Task a title

  3. Go to Actions

  4. Go to CMD to find the path,

    Python, import sys, sys.executable

    (this tells you what the Program/script field should be populated with: "some path with Appdata mostly")

    like:C:\Users\admin\AppData\Local\Programs\Python\Python38-32\python.exe

  5. Arguments: name of the python script (like run.py)

  6. Start in: dir location of python script (like:C:\Users\admin\Documents\my_python_project)

  7. Go to Triggers, schedule for every 30 minutes

  8. Test the script by running it

TT313
  • 81
  • 8
0

If you are Linux user, then simply create a python script and add it to your crontab to run every few hours.

If you are windows, then also you need to create python script and instead of crontab use scheduled tasks:

Setting up a cron job in Windows

Chandan Malla
  • 414
  • 2
  • 13