scan_job.rb 190 Bytes Edit Raw Blame History 1 2 3 4 5 class SpaminatorPlugin::ScanJob < Struct.new(:environment_id) def perform fork {system("ruby #{File.join(SpaminatorPlugin.root_path, 'script', 'scan')} #{environment_id}") } end end