What would be the best way to start and stop an add-on at a specific time?

I have a scrip on my server that runs and connects to HASOS vis ssh and copies the contents of the /config directory which is then pushed to my gitlab server. for those wondering why I did it this way? Its for granular control.

Any how what I would like to do is start the Advanced SSH & Web Terminal just a couple of minutes before the server script connects to sync the folder and then to stop it a minute of so afterwards.

So that’s the simplified background and I was wondering if I should write a script in HAOS and then an Automation to run it. Or should I look at doing this with a pure Automation?

Any positive input is welcome.

Just for the curious, I run Symphony and it manages may Admin tasks across several dviceson my network.

Just an automation should do it.

Thanks Francis. I’ll go down that route.