stay arduino on for weeks

Hi!
Is it possible to keep the arduino on for few weeks? I want to use it as sprinkler controller.
TNX!

Yes, make sure the power supply is sound