12 messages in ru.sysoev.nginxRe: executing a background script fro...
FromSent OnAttachments
Kingsley ForemanSep 11, 2008 12:35 am 
Igor SysoevSep 11, 2008 12:40 am 
mikeSep 11, 2008 12:42 am 
Igor SysoevSep 11, 2008 12:44 am 
mikeSep 11, 2008 12:47 am 
Tit PetricSep 11, 2008 1:01 am 
Igor SysoevSep 11, 2008 2:51 am 
mikeSep 11, 2008 8:27 am 
Igor SysoevSep 11, 2008 8:47 am 
Kingsley ForemanSep 11, 2008 8:48 am 
mikeSep 11, 2008 9:09 am 
mikeSep 11, 2008 9:10 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: executing a background script from embedded perlActions...
From:mike (mike@public.gmane.org)
Date:Sep 11, 2008 12:42:45 am
List:ru.sysoev.nginx

nginx doesn't support perl natively anyway does it?

On Thu, Sep 11, 2008 at 12:35 AM, Kingsley Foreman <kingsley-CkBdp7X+a1oJ@public.gmane.org> wrote:

Hi guys just wondering if you could run exec("sleep 200 &") in an embedded perl script and let nginx keep doing its thing.

Obviously sleep is just an example however i don't appear to be able to run a program in the background. the nginx process waits until the backgrounded script completes before continuing.

Kingsley Foreman Technical Leader Content Services / Content Management Group

============================================= Internode Systems Pty Ltd

PO Box 284, Rundle Mall 5000 Level 5 150 Grenfell Street, Adelaide 5000 Phone: +61 8 8228 2978 Fax: +61 8 8235 6978 Web: http://www.internode.on.net http://games.on.net =============================================