(Edited based on feedback)
There are two parts to this question:
1) Does the thing I describe below exist already in pre-packaged form, IC, etc.
2) Is the thing common enough to have a name that I can google more about?
And here's the thing:
I want a component that can be connected to a power supply that provides 5V at up to 1W. The component acts as a low power (<<1mA drawn), high resistance timer for interval N and as a dead short (to an output line) for interval M, where N would vary from minutes to days, and M would vary from milliseconds to perhaps up to a second. Intervals M and N would alternate indefinitely, input line would always receive voltage/power, and the external load would always be attached to the output line.
If I've left something out that would help answer this, please point that out, I'm an electronics noob so this may be underspecified as it stands.
Also, the specific numbers I used aren't hard and fast, but they illustrate the operation I want. Any solution should behave conceptually the same if the power supply varies, e.g. 12 V at 10 W, etc.
Context for this question is that I am trying to find a component that can take power input from either/both a storage unit or generator (both in the same range of voltage/power) and supply this to the load (solenoid) only at the active (M) intervals, while during the off intervals (N) the generator stops supplying power and the storage provides enough to run the low power counter until the next on interval. When transitioning from off to on intervals, the storage has enough stored energy to supply the load for a short period at which point the generator kicks in. None of this is part of the component in question, just providing this context by request, and in case it helps answer.