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

7 lines
176 B
Python

#!/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()')