In Spanish times, a cannon was fired every evening to signal that the city gates were about to close - the tradition has been kept up as a tourist attraction