There currently is one option to travel by night train from Tarnów (Poland) to Rzepin (Poland), taking between approximately 8 and 9 hours: Namely the EC 430 operated by PKP Intercity.
PKP Intercity, Poland's national long-distance operator, connects cities across Poland and beyond its borders.