Corn snake

Corn snakes are solitary and both diurnal and nocturnal.

An excerpt from the article 21 facts about corn snake
However, they spend most of the day buried underneath rocks, logs, or loose tree bark.