If the script isn't exposed as a service, you'll likely need to open a (secure) telnet session and execute the command.
There is a great project I've referenced before on CP here:
Terminal Control Project (C# VT100 SSH Telnet)[
^]
Alternatively, you could create a webpage/script on Apache which calls the script when the page is requested.
Not sure your deployment scenario, but be mindful of security.
Cheers.