Run commands on a schedule and cache their output.