It doesn’t matter when you’re mining with your PC, during the day or during the night, components degrade either way . As far as if it’s safe to let your PC running all night long: Yes. It’s most profitable when mining rigs are run 24/7, just like all the servers.