diff --git a/app/jobs/regular/export_csv_file.rb b/app/jobs/regular/export_csv_file.rb index f05d81a867a..b5bc3035453 100644 --- a/app/jobs/regular/export_csv_file.rb +++ b/app/jobs/regular/export_csv_file.rb @@ -48,8 +48,7 @@ module Jobs end # compress CSV file - `gzip -5 #{absolute_path}` - + system('gzip', '-5', absolute_path) ensure notify_user(file_name, absolute_path) end