Spotter-VM/lxc-apps/sahana/image.d/srv/web2py/run_scheduler.py

7 lines
176 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python
from gluon.shell import run
if __name__ == '__main__':
run('eden', True, True, None, False, 'from gluon import current; current._scheduler.loop()')