working docker version
This commit is contained in:
@@ -153,6 +153,7 @@ def importConfigs (db):
|
|||||||
|
|
||||||
# Init timezone in case it changed
|
# Init timezone in case it changed
|
||||||
conf.tz = timezone(conf.TIMEZONE)
|
conf.tz = timezone(conf.TIMEZONE)
|
||||||
|
|
||||||
# global mySchedules
|
# global mySchedules
|
||||||
# reset schedules
|
# reset schedules
|
||||||
conf.mySchedules = []
|
conf.mySchedules = []
|
||||||
@@ -161,7 +162,6 @@ def importConfigs (db):
|
|||||||
pholusSchedule = Cron(conf.PHOLUS_RUN_SCHD).schedule(start_date=datetime.datetime.now(conf.tz))
|
pholusSchedule = Cron(conf.PHOLUS_RUN_SCHD).schedule(start_date=datetime.datetime.now(conf.tz))
|
||||||
|
|
||||||
conf.mySchedules.append(schedule_class("pholus", pholusSchedule, pholusSchedule.next(), False))
|
conf.mySchedules.append(schedule_class("pholus", pholusSchedule, pholusSchedule.next(), False))
|
||||||
mylog('debug', "schedules (appended) : " + str(conf.mySchedules))
|
|
||||||
|
|
||||||
# init nmap schedule
|
# init nmap schedule
|
||||||
nmapSchedule = Cron(conf.NMAP_RUN_SCHD).schedule(start_date=datetime.datetime.now(conf.tz))
|
nmapSchedule = Cron(conf.NMAP_RUN_SCHD).schedule(start_date=datetime.datetime.now(conf.tz))
|
||||||
|
|||||||
Reference in New Issue
Block a user