# Scheduling a Jupyterhub notebook using API

**URL:** https://discourse.jupyter.org/t/scheduling-a-jupyterhub-notebook-using-api/6882
**Category:** JupyterHub
**Tags:** jupyterlab, jupyterhub, how-to
**Created:** [November 24, 2020, 4:09am UTC](https://discourse.jupyter.org/t/scheduling-a-jupyterhub-notebook-using-api/6882 "2020-11-24T04:09:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Imberman](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/daniel_imberman/32/2906_2.png) [@Daniel\_Imberman](https://discourse.jupyter.org/u/Daniel_Imberman)
#### Post date: [November 24, 2020, 4:09am UTC](https://discourse.jupyter.org/t/scheduling-a-jupyterhub-notebook-using-api/6882/1 "2020-11-24T04:09:40Z")

</div>

Hello!

I’m looking to create a JupyterHubPapermillOperator for Airflow and I’d love to know a bit more about how Jupyterhub schedules notebooks. Since Airflow would not be running in the JupyterLab UI, I was wondering if there’s a way to programatically execute a notebook via request or an API. It would be especially awesome if there was some sort of “Jupyterhub-papermill” plugin that makes all of this interaction native.

Thank you!

---

<div class="post-metadata">

### Author: ![Junior\_casi](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/junior_casi/32/4293_2.png) [@Junior\_casi](https://discourse.jupyter.org/u/Junior_casi)
#### Post date: [June 10, 2021, 5:29pm UTC](https://discourse.jupyter.org/t/scheduling-a-jupyterhub-notebook-using-api/6882/2 "2021-06-10T17:29:03Z")

</div>

@Daniel_Imberman did you figure out this issue I am also experiencing the same issue , can you please help me
