Select to view content in your preferred language

What is the max time a scheduled notebook task can run?

102
2
Jump to solution
4 weeks ago
Labels (1)
DrewDowling
Frequent Contributor

I'm considering creating a notebook in AGOL to monitor the status of a 3rd party app and update a hosted feature service when the app changes.

If I use

time.sleep(xy)

in a loop to keep the code executing and the kernel active, what is the maximum time I can run the process for?

 

0 Kudos
1 Solution

Accepted Solutions
xlt208
by Esri Contributor
Esri Contributor

Hi @DrewDowling,

When scheduling or editing a notebook task, you can set the maximum time the task can run from 5 minutes to 24 hours. The setting is in Step 2, "set task schedule details" > Advanced.

xlt208_0-1731606342911.png

 

I hope this helps!

 

Thank you,

Lingtao, Product Engineer for ArcGIS Notebooks

View solution in original post

2 Replies
xlt208
by Esri Contributor
Esri Contributor

Hi @DrewDowling,

When scheduling or editing a notebook task, you can set the maximum time the task can run from 5 minutes to 24 hours. The setting is in Step 2, "set task schedule details" > Advanced.

xlt208_0-1731606342911.png

 

I hope this helps!

 

Thank you,

Lingtao, Product Engineer for ArcGIS Notebooks

DrewDowling
Frequent Contributor

Thank you @xlt208 

0 Kudos