Triggering a script in Proxmox?

Hello everybody

I am running HA as a Proxmox VM and would like to trigger a script in that same Proxmox node. I could not find anything like it in the forum, so here we go…
After every power outage (here in South Africa scheduled and called “load shedding”) the mounted NAS is loosing its communication and has to be remounted with mount -a. HA knows the schedule and could trigger that mount after power is back, but how to tell the node to do that from that VM?

I am a total newbie to Proxmox… any suggestions of how to get this working?

Greetings from the land of power outages