Exemple #1
0
def run(ctx):
    """Starts any harvest jobs that have been created by putting them onto
    the gather queue.

    Also checks running jobs - if finished it changes their status to
    Finished.

    """
    flask_app = ctx.meta["flask_app"]
    with flask_app.test_request_context():
        utils.run_harvester()
 def run_harvester(self):
     utils.run_harvester()