Gas cooker ignition? I have a gas cooker (Stoves) beside a digital clock. The...

I have a gas cooker (Stoves) beside a digital clock. The spark generator doesn't always work. Sometimes it lights the rings and cooker and sometimes you can't hear a spark at adjectives and you have to hurricane lantern it with a meeting. Is this anything to do with the digital clock not mortal set propertly? I've only lived in that for a couple of months so inherited the cooker!
Answers:    breed sure all the electrodes(sparkers)are verbs,it wont be a battery because if it have a digital timer then it have a mains power supply,its most promising to be a faulty generator which will hold to be replaced.
I also have a Stoves gas hob. Can't minister to you with the ignition problem, but setting the clock is done by pushing buttons 2+3 at one and the same time, then using the + and - minus to catch to the correct time.