mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
12 lines
244 B
Python
12 lines
244 B
Python
from app import db
|
|
from flask import Flask
|
|
from .corpus_utils import check_corpora
|
|
from .job_utils import check_jobs
|
|
|
|
|
|
def daemon(app: Flask):
|
|
with app.app_context():
|
|
check_corpora()
|
|
check_jobs()
|
|
db.session.commit()
|