Re: [PHP] locate PID & Kill

2004-08-09 Thread Jason Wong
On Monday 09 August 2004 19:00, Curlys wrote: > it doesn't work , when it is running , errors r bellow > > sh: line 1: kill: r: invalid signal specification Well specify a VALID signal then. This is not a PHP problem. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software

Re: [PHP] locate PID & Kill

2004-08-09 Thread Curlys
D]> Sent: Monday, August 09, 2004 12:38 PM Subject: Re: [PHP] locate PID & Kill > You could do something like this.. > > $cmd = "kill -r HUP /var/run/abc.pl.pid"; > exec($cmd); > > That should kill it and then restart it. You'll need to change > /var/r

Re: [PHP] locate PID & Kill

2004-08-08 Thread Matthew Runo
You could do something like this.. $cmd = "kill -r HUP /var/run/abc.pl.pid"; exec($cmd); That should kill it and then restart it. You'll need to change /var/run/abc.pl.pid to fit into your system, but the idea of that line is to allow the script to get the proper PID, even if it's not what you e

Re: [PHP] locate

2003-03-29 Thread Nikunj Virani
Not a PHP Question. "updatedb" or "locate -u" should work on Linux systems. Regards, Nikunj Virani - Original Message - From: "Joseph Bannon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 29, 2003 12:44 PM Subject: [PHP] locate > How do you update the locate databas

Re: [PHP] locate

2003-03-28 Thread Jason Wong
On Saturday 29 March 2003 15:14, Joseph Bannon wrote: > How do you update the locate database? > > /var/lib/slocate/slocate.db You really are taking advantage of people's generosity in answering your OT questions. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Sys

Re: [PHP] locate

2003-03-28 Thread Kevin Waterson
This one time, at band camp, Joseph Bannon <[EMAIL PROTECTED]> wrote: > How do you update the locate database? > > /var/lib/slocate/slocate.db udatedb Kevin -- __ (_ \ _) ) | / / _ ) /