manage.py 229 Bytes
Newer Older
1 2
from flask_script import Manager

3 4
import fractalis.cleanup
from fractalis import app
5 6 7 8 9 10


manager = Manager(app)


@manager.command
Sascha Herzinger's avatar
Sascha Herzinger committed
11
def janitor():
12
    fractalis.cleanup.janitor.delay()
13

14 15 16

if __name__ == "__main__":
    manager.run()