Esempio n. 1
0
from flask import Flask
import src.schedule as sch

app = Flask(__name__)


@app.route('/api/schedule')
def home():
    print("Start extract keywords schedule task...")
    sch.run()


if __name__ == '__main__':
    print("Start extract keywords schedule task...")
    sch.run()
Esempio n. 2
0
def home():
    print("Start extract keywords schedule task...")
    sch.run()
Esempio n. 3
0
def home():
    sch.run()