diff --git a/app/workers/inthewild_cve_exploit_importer_worker.rb b/app/workers/inthewild_cve_exploit_importer_worker.rb new file mode 100644 index 0000000..86535e0 --- /dev/null +++ b/app/workers/inthewild_cve_exploit_importer_worker.rb @@ -0,0 +1,10 @@ +require '/data_importer/lib/importers/inthewild_cve_exploit_importer.rb' + +class InthewildCveExploitImporterWorker + include Faktory::Job + + def perform(*args) + puts "Hello, I am #{jid} with args #{args}" + InthewildCveExploitImporter.new.import + end +end \ No newline at end of file