namespace :recordings do
  desc "Elimina replay scaduti (DB + storage)"
  task purge_expired: :environment do
    Recordings::PurgeExpiredJob.new.perform
    puts "Purge replay scaduti completata"
  end

  desc "Invia email di avviso scadenza replay (7 giorni)"
  task expiry_warnings: :environment do
    Recordings::ExpiryWarningJob.new.perform
    puts "Avvisi scadenza replay inviati"
  end
end
