Turning on Two relays on at the same time

My project needs to turn on two relays at the same time, one operates a 110vac light and the other operates a solenoid. The light gets a digitalWrite HIGH and the solenoid gets a digitalWrite LOW so the solenoid doesn’t activate as soon as the program runs. Both will have delays with different times. Any suggestions?
Thanks.

This should be easy for you to program, what Arduino do you have?

Show us a proposed schematic.

Show use the characteristics of the relay and solenoid.

.

A relay and a solenoid are very slow devices. It will make no difference if you use two digital writes for this.

digitalWrite(relay1, HIGH or LOW whichever it needs);
digitalWrite(relay2, HIGH or LOW whichever it needs);

how hard was that.