JupyterHub Stop container/server after 5 mins of no user activity

JupyterHub Idle Culler is what you are looking for. You can run it as Hub Managed Service with the timeout=300 for your need.

1 Like