Projeto ativação de motor automatico

I want to know if I can make a command line for the arduino to activate the relay every 3 hours, there will be a motor connected to the relays.

Your duplicate post in Home Automation has been deleted

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a timeout from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

diogo45:
I want to know if I can make a command line for the arduino to activate the relay every 3 hours, there will be a motor connected to the relays.

You can certainly make an Arduino program to operate a relay at intervals but I don't know what you mean by "command line". That is a a concept that I associate with PCs.

Have a look at how millis() is used to manage timing without blocking in Several Things at a Time.

And see Using millis() for timing. A beginners guide if you need more explanation.

...R

PS ... an English language Title would make more sense - if you edit your Original Post you can change the Title.