There are numerous timer switches that replace a conventional switch in a wall box. For example, this is a seven day timer from Honeywell
The wiring for simple timers is pretty straightforward. Usually you simply replace the existing switch and wire the new switch the same way. Often you need to add a neutral wire to the switch, and most recently wired switch boxes have a neutral available, even if it is not currently attached to the old switch.
There are also more advanced home automation systems that combine switches with hand-held controls that can both turn things on and off, or program them to come on based on time, temperature or a number of other criteria.
If you are unfamiliar with electrical wiring, even a simple switch replacement can be daunting (or even dangerous). If you are not comfortable with this or if you want a more complex home automation system, you may want to consult with a pro, or find a friend or neighbor with some experience.
SUPPLEMENT Based on the additional information provided, you could accomplish this using two timers. Wire the first one to work the up mechanism and the second to operate the down mechanism. Set the timers to turn on for 5 minutes (or slightly longer than what is needed to fully operate the mechanism), and then off. Just make sure that both are not set to go on at the same time. Clearly mark which is up and which is down.
Links and images are for illustration only, not an endorsement of products or sources.