Traceback (most recent call last):
File "/Users/grutz/Kvasir/web2py/gluon/scheduler.py", line 306, in executor
"name '%s' not found in scheduler's environment" % f)
NameError: name 'connect_exploits' not found in scheduler's environment
Need to add this to models/scheduler.py:
##----------------------------------------------------------------------------
def connect_exploits(filename=None):
"""
Process Nexpose exploits.xml file into the database
"""
from skaldship.exploits import connect_exploits
connect_exploits()
return True
Connecting exploits using scheduler:
Need to add this to models/scheduler.py: