From 785a02b53ce6c0bfe7ccfa1281e4a996fd5afc5a Mon Sep 17 00:00:00 2001 From: Brendan McDevitt Date: Tue, 19 Apr 2022 00:32:40 -0500 Subject: [PATCH] added inthewild_cve_exploit_importer_worker --- app/workers/inthewild_cve_exploit_importer_worker.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/workers/inthewild_cve_exploit_importer_worker.rb 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