Files
jupyterhub/examples/cull-idle/jupyterhub_config.py

9 lines
200 B
Python

# run cull-idle as a service
c.JupyterHub.services = [
{
'name': 'cull-idle',
'admin': True,
'command': [sys.executable, 'cull_idle_servers.py', '--timeout=3600'],
}
]