use services API in cull-idle example

This commit is contained in:
Min RK
2016-08-27 13:23:45 +02:00
parent a1c787ba5f
commit 140c4f2909
2 changed files with 26 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
# run cull-idle as a service
c.JupyterHub.services = [
{
'name': 'cull-idle',
'admin': True,
'command': 'python cull_idle_servers.py --timeout=3600'.split(),
}
]