REZAR,
I think you are looking for a "Programmable Electronic Timer", with a range of 1 month (30 days) minimum.
There are many brands that will work. The "Intermatic ET70215C" is a 365-day (1 year) timer with two channels {two SPDT (Single Pole, Double Throw) outputs}, with 400 On/Off cycles per day. The price is about $249 US.
The "Paragon EC71D-18S-120V" has one SPDT output with a time range of 1 minute to 365 days, with up to 9 On/Off cycles per day. The price is about $295 US.
7-day timers are much cheaper. The Intermatic ET173C is only $127.
But as has been said here, a small PLC may be cheaper, depending on what time range you need.