sahana-eden/sahana/image.d/srv/web2py/run_scheduler.py

7 lines
176 B
Python
Raw Permalink Normal View History

2022-03-06 10:59:23 +01:00
#!/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()')