added trickest_poc_cve_importer_worker
This commit is contained in:
parent
2f28ebae73
commit
59fba273f6
1 changed files with 10 additions and 0 deletions
10
app/workers/trickest_poc_cve_importer_worker.rb
Normal file
10
app/workers/trickest_poc_cve_importer_worker.rb
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
require '/data_importer/lib/importers/trickest_poc_cve_importer.rb'
|
||||||
|
|
||||||
|
class TrickestPocCveImporterWorker
|
||||||
|
include Faktory::Job
|
||||||
|
|
||||||
|
def perform(*args)
|
||||||
|
puts "Hello, I am #{jid} with args #{args}"
|
||||||
|
TrickestPocCveImporter.new.import
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue