As I'm thinking more on this topic, perhaps rather than one second on - or 1/10th of a second, in that 1 second you can flash it three times with an on time of 5 milli seconds on for a total of 15mS on time. But this would require use of a micro-processor. That way you can get really good timing. I'm totally unfamiliar with µP's so I have no idea how much current they would draw or how fast they would drain down a battery.
On the subject of batteries, I know you want to put this into a salt shaker lid - but if you go a different route you could have something for the salt shaker and other condiments on with a larger battery compartment. Maybe three AAA batteries that are easily replaced OR a rechargeable battery that every evening the unit can be plugged into a charger. OR even more so still, wireless charging.
Listen to me - - - I'm making your simple project into a large scale production. As always, you're the design engineer. You get to decide what you want and how you want it. I'm just offering a different thought.
On the subject of batteries, I know you want to put this into a salt shaker lid - but if you go a different route you could have something for the salt shaker and other condiments on with a larger battery compartment. Maybe three AAA batteries that are easily replaced OR a rechargeable battery that every evening the unit can be plugged into a charger. OR even more so still, wireless charging.
Listen to me - - - I'm making your simple project into a large scale production. As always, you're the design engineer. You get to decide what you want and how you want it. I'm just offering a different thought.