Note cull-idle needs python3

- Closes: #1825
This commit is contained in:
Richard Darst
2018-04-26 16:16:49 +03:00
parent 9cd880fb35
commit 6f9ea712de
4 changed files with 7 additions and 7 deletions

View File

@@ -88,7 +88,7 @@ c.JupyterHub.services = [
{
'name': 'cull-idle',
'admin': True,
'command': 'python cull_idle_servers.py --timeout=3600'.split(),
'command': 'python3 cull_idle_servers.py --timeout=3600'.split(),
}
]
```
@@ -115,7 +115,7 @@ variable. Run `cull_idle_servers.py` manually.
```bash
export JUPYTERHUB_API_TOKEN='token'
python cull_idle_servers.py [--timeout=900] [--url=http://127.0.0.1:8081/hub/api]
python3 cull_idle_servers.py [--timeout=900] [--url=http://127.0.0.1:8081/hub/api]
```
[cull_idle_servers]: https://github.com/jupyterhub/jupyterhub/blob/master/examples/cull-idle/cull_idle_servers.py