Re: Shell Script needed

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54768
interpreted = N
texte = You don't want to do a kill -9 as this will corrupt the databases if it is writing at the time .. Do you get an error when running the script .. ? Why do you want to stop WebDNA ? Alain On 09/12/2003, at 12:21 PM, Paul Uttermohlen wrote: > > Yeah. That's the first thing I tried, but it doesn't work. > > I need something that will get the PID so I can do > > Kill -9 PID > > I can use > > Ps -aux | head -21 | grep Webcatalog > > To get > > www 20381 100.8 30.3 528656 476356 p3- R 87:44.76 Webcatalog -m > > Where the second number is the pid. > > Paul > > > > On 12/8/03 5:45 PM, "Alain Russell" > wrote: > >> #/bin/sh >> >> cd /Library/WebServer/CGI-Executables/Webcatalogengine (or the correct >> path) >> ./webcatalogctl stop >> >> Should do it for you .. >> >> >> On 09/12/2003, at 11:40 AM, Paul Uttermohlen wrote: >> >>> Hi, >>> >>> I need a shell script for Mac OSX that I can call with cron to kill, >>> quit or >>> restart Webcatalog. >>> >>> Does anyone have one that they can donate to me? >>> >>> I'm trying to automatically kill webcatalog at a specified time. >>> >>> I've tried webcatalogctl restart, but it does not work. I just get a >>> message >>> that WebDNA monitor is already running. >>> >>> Thanks, Paul >>> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Shell Script needed ( John Peacock 2003)
  2. Re: Shell Script needed ( Paul Uttermohlen 2003)
  3. Re: Shell Script needed ( John Peacock 2003)
  4. Re: Shell Script needed ( Christer Olsson 2003)
  5. Re: Shell Script needed ( Andy Mowrey 2003)
  6. Re: Shell Script needed ( Paul Uttermohlen 2003)
  7. Re: Shell Script needed ( Christer Olsson 2003)
  8. Re: Shell Script needed ( Paul Uttermohlen 2003)
  9. Re: Shell Script needed ( "Alain Russell" 2003)
  10. Re: Shell Script needed ( Paul Uttermohlen 2003)
  11. Re: Shell Script needed ( Alain Russell 2003)
  12. Re: Shell Script needed ( Paul Uttermohlen 2003)
  13. Re: Shell Script needed ( Alain Russell 2003)
  14. Shell Script needed ( Paul Uttermohlen 2003)
You don't want to do a kill -9 as this will corrupt the databases if it is writing at the time .. Do you get an error when running the script .. ? Why do you want to stop WebDNA ? Alain On 09/12/2003, at 12:21 PM, Paul Uttermohlen wrote: > > Yeah. That's the first thing I tried, but it doesn't work. > > I need something that will get the PID so I can do > > Kill -9 PID > > I can use > > Ps -aux | head -21 | grep Webcatalog > > To get > > www 20381 100.8 30.3 528656 476356 p3- R 87:44.76 Webcatalog -m > > Where the second number is the pid. > > Paul > > > > On 12/8/03 5:45 PM, "Alain Russell" > wrote: > >> #/bin/sh >> >> cd /Library/WebServer/CGI-Executables/Webcatalogengine (or the correct >> path) >> ./webcatalogctl stop >> >> Should do it for you .. >> >> >> On 09/12/2003, at 11:40 AM, Paul Uttermohlen wrote: >> >>> Hi, >>> >>> I need a shell script for Mac OSX that I can call with cron to kill, >>> quit or >>> restart Webcatalog. >>> >>> Does anyone have one that they can donate to me? >>> >>> I'm trying to automatically kill webcatalog at a specified time. >>> >>> I've tried webcatalogctl restart, but it does not work. I just get a >>> message >>> that WebDNA monitor is already running. >>> >>> Thanks, Paul >>> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Alain Russell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Displaying raw values (long) (1998) Date Math (1999) newcart (1997) [WriteFile] problems (1997) (1997) Grep Search and Replace (2002) Re[2]: Strange database format import (2000) [WebDNA] Dates (2009) A question on sub-categories (1997) problems with 2 tags shakur (1997) Multiple catalog databases and showcart (1997) [WebDNA] table comma field delimiter bug? (2012) denying access to a banned username (2002) PCS Frames (1997) Location of Browser Info.txt file (1997) Multiple radio buttons (1998) Quit revisited (1997) Searching multiple fields from one form field (1997) RAM variables (1997) Languages (1997)