I want to remotely run some command-line program (no need for GUI) on a computer with a web server (Apache in my case) installed.
Some simple example program to start:
MyScript.sh -f file.txt
How could I do this?
As long as this could be considered a too broad question, I suggest narrowing it to (rather) simple programs, but allowing multiple ways to implement it, like HTML, JavaScript, CRON tweaks... etc.
Possible useful (but not strictly required) features:
- View outputted results.
- Parameters specification.
Further notes:
- Indeed, some methods could involve a bigger security risk. It is assumed, but it is still a good idea to consider it.