I ran across a building controls controller today, a Honeywell XL50 or Excel 50(?) It had a date/time calendar, what I'd call a 'real time clock' with a number of I/O points, but I didn't read it real close, so I'm not sure if it had 4 relay outputs or not.
The HVAC or building controls market probably has packaged stuff like a what you describe.
Dan