Is it safe to run arduino uno 24/7 with usb as power to cellphone charger?

Why not use the solar panel?
Go into sleep mode when the solar panel returns to East for the night, then wake the arduino up when the sun causes the panel voltage to go above a certain level in the morning.
Even to activate a power relay that is then held on by the arduino for the day and shut down at night.

Daz