Commit 15dbb5dd authored by Jakob Moser's avatar Jakob Moser
Browse files

Add scheduler.py

parent 525df442
Loading
Loading
Loading
Loading

clams/jobs.py

0 → 100644
+12 −0
Original line number Diff line number Diff line
"""
Jobs that should be run regularly by our scheduler (APScheduler).
"""
from clams import scheduler

import logging

# Create a child logger of the main app logger app.logger
# This way, we inherit the configuration from the main app logger, which we leave mostly
# intact. However, we want to decrease the log level specifically for this logger to INFO.
logger = logging.getLogger("clams.jobs")
logger.setLevel(logging.INFO)