Set interval time