Article View: es.comp.os.linux.programacion
Article #11728Re: Guión de bash
From: J.R.
Date: Wed, 10 Oct 2001 12:25
Date: Wed, 10 Oct 2001 12:25
62 lines
2006 bytes
2006 bytes
El Mar 09 Oct 2001 14:15, el se�or Jesus Manuel NAVARRO LOPEZ se atrevi� a decir: > Hol,a J.R.: > > "J.R." wrote: [...] (Cosas que yo hab�a dicho) > �Qu� tal buscar en la salida de ps para ver si ya hay alguna > instancia > del script en ejecuci�n? Alternativamente, que el script cree un > archivo de bloqueo al inicio de la ejecuci�n, y que busque si ya > existe. > > Por ejemplo... > [...] (Un script mu chulo que creo que es lo que me hace falta) Chas gracias, creo que esto es exactamente lo que me hace falta. Me voy a poner con �l en cuanto tenga un momento porque estoy bastante verde en scripts. Si he entendido bien, lo que hace el script es guardar su propio pid y, por tanto, necesito un script para cada aplicaci�n que quiera lanzar �no? Muchas gracias otra vez. Saludos. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Technical Details
Message-ID:
<W6Xw7.6467$ao.11239@telenews.teleline.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!newsfeed.mad.ttd.net!telenews.teleline.es!not-for-mailReferences:
<2M%v7.75097$vW.79512@telenews.teleline.es> <3BC2EA59.D37564A2@promofinarsa.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,f453d49be66d7056 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-10-10 06:01:15 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!newsfeed.mad.ttd.net!telenews.teleline.es!not-for-mail From: J.R. <aun.no.tengo@correo.com> Subject: Re: Guión de bash Newsgroups: es.comp.os.linux.programacion References: <2M%v7.75097$vW.79512@telenews.teleline.es> <3BC2EA59.D37564A2@promofinarsa.es> Lines: 63 User-Agent: KNode/0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Message-ID: <W6Xw7.6467$ao.11239@telenews.teleline.es> Date: Wed, 10 Oct 2001 12:25:26 GMT NNTP-Posting-Host: 195.235.97.105 X-Complaints-To: usenet@teleline.es X-Trace: telenews.teleline.es 1002716726 195.235.97.105 (Wed, 10 Oct 2001 14:25:26 MET DST) NNTP-Posting-Date: Wed, 10 Oct 2001 14:25:26 MET DST Organization: Terra Networks