Skip to content
Snippets Groups Projects
Commit b0c2f695 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Rename scheduler function

parent e3ceb19f
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import json
import os
def check_jobs():
def checkout_jobs():
app = create_minimal_app(os.getenv('FLASK_CONFIG') or 'default')
app.app_context().push()
client = docker.from_env()
......
......@@ -7,8 +7,8 @@ basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
JOBS = [
{
'id': 'check_jobs',
'func': 'app.scheduler_functions:check_jobs',
'id': 'checkout_jobs',
'func': 'app.scheduler_functions:checkout_jobs',
'seconds': 3,
'trigger': 'interval'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment