Re: How many ways can you run a script?

Liste des GroupesRevenir à ol misc 
Sujet : Re: How many ways can you run a script?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.misc
Date : 30. May 2024, 01:12:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v38cpq$1bce2$3@dont-email.me>
References : 1 2
User-Agent : Pan/0.158 (Avdiivka; )
On 30 May 2024 08:26:29 +1000, Computer Nerd Kev wrote:

Your list already assumes an RSH, SSH, and X server running, so a Web
server isn't much less likely ...

Talking about Web servers, I was once called in to look at a bunch of cron
tasks set up by a PHP programmer who clearly had no clue about shell
scripts. Here’s what they did:

* Installed some PHP framework that mapped URL paths to PHP functions, so 
these could be individually invoked via curl;
* Defined those PHP functions to spawn the necessary shell commands;
* Define the cron tasks to use curl commands to the Web server with the
necessary URL paths to invoke those PHP functions.

The framework (not counting the Web server and PHP itself) was several
thousand lines of PHP code, just to invoke a few lines’ worth of commands.

Date Sujet#  Auteur
29 May 24 * How many ways can you run a script?8Woozy Song
29 May 24 +- Re: How many ways can you run a script?1Andy Burns
29 May 24 +- Re: How many ways can you run a script?1Lew Pitcher
29 May 24 +- Re: How many ways can you run a script?1Lew Pitcher
30 May 24 +* Re: How many ways can you run a script?3Computer Nerd Kev
30 May 24 i+- Re: How many ways can you run a script?1Lawrence D'Oliveiro
30 May 24 i`- Re: How many ways can you run a script?1John-Paul Stewart
31 May 24 `- Re: How many ways can you run a script?1immibis

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal