Timed Plex connection possible?

HI,
My Plex server runs on a Synology Nas that switches off at nighttime, to turn back on again at the beginning of the working day.
This causes endless errors in the HA logs, and probably wastes Hassio resources trying to connect relentlessly.

Would it be possible to setup Plex somehow in HA to only connect between 7 am and 23 pm?

Cheers,
Marius