Add task to scan old champs pj
This commit is contained in:
parent
6289a719ef
commit
aad109e376
1 changed files with 7 additions and 0 deletions
7
lib/tasks/2018_06_04_scan_pjs.rake
Normal file
7
lib/tasks/2018_06_04_scan_pjs.rake
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace :'2018_06_04_scan_pjs' do
|
||||
task scan_all: :environment do
|
||||
Champs::PieceJustificativeChamp.all.each do |pj_champ|
|
||||
pj_champ.create_virus_scan
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue