from apscheduler.schedulers.blocking import BlockingScheduler
from farmsList.imports import every_night_at_1am
from rq import Queue
from worker import conn
import logging

logging.basicConfig()
q = Queue(connection=conn)
sched = BlockingScheduler()

@sched.scheduled_job('cron', hour=18, minute=41) # hour=8, minute=15)  # This is UTC and translates to 1:15 AM PDT (12:15 AM PST)
def scheduled_job():
	q.enqueue(every_night_at_1am)

sched.start()

@@ -278,17 +278,17 @@
 , hour=1
-8
+9
 , minute
@@ -292,10 +292,9 @@
 ute=
-41
+0
 ) # 
@@ -422,16 +422,29 @@
 t_at_1am
+, timeout=600
 )%0A%0Asched

test import of usda food desert data