fix scheduler: add python path for src module
This commit is contained in:
@@ -6,6 +6,12 @@ Runs every 6 hours and sends notifications for new results
|
||||
|
||||
import time
|
||||
import logging
|
||||
import sys
|
||||
import os
|
||||
|
||||
# Add src to Python path
|
||||
sys.path.append('/app')
|
||||
|
||||
from apscheduler.schedulers.background import BackgroundScheduler
|
||||
from src.main import FlatScraper
|
||||
|
||||
|
||||
Reference in New Issue
Block a user