We experimentally investigated the thermal escape from a metastable state in a Josephson tunnel junction subjected to an oscillating effective temperature. A minimum of the average escape time is observed at certain oscillation frequency. Our results confirm that the resonant activation can be caused not only by the oscillating barrier but also by the oscillating temperature. The linear dependence of the minimum average escape time on the resonant frequency suggests that the correlation between the oscillation and the escape process leads to the resonant escape.