From dd0bacdb09b1903b1e91d3b2ce7b4dd994156e5e Mon Sep 17 00:00:00 2001 From: Jannik Pulfer Date: Fri, 28 Jun 2024 13:46:20 +0200 Subject: [PATCH] Write rake task that runs the people update --- lib/tasks/ptime.rake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/tasks/ptime.rake b/lib/tasks/ptime.rake index b43cefc71..71ef62194 100644 --- a/lib/tasks/ptime.rake +++ b/lib/tasks/ptime.rake @@ -8,4 +8,9 @@ namespace :ptime do task :evaluate_assign => :environment do Ptime::AssignEmployeeIds.new.run end + + desc 'update person data with the data from ptime' + task :update_people => :environment do + Ptime::UpdatePeopleData.new.run + end end \ No newline at end of file