Looking for some direction with custom scripts

I’m currently using windows_exporter and node_exporter on windows and linux machines, respectively. I need to be able to run some client side scripts and I’m not sure what the path of least resistance is. Some of the checks are your normal ping and tracert/traceroute whereas others will be running custom local scripts.

What’s the best way to handle this? I’m thinking maybe the textfile collector for the windows_exporter and node_exporter. If that’s the case, do you just use what native tools in the OS for scheduling the running of scripts?