Re: webcat restarting script on Linux?
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25470
interpreted = N
texte = Here is what I do. In the /etc/cron.daily directory I have a script with the following content:#!/bin/sh/etc/rc.d/init.d/WebCatalogCtl restartThe script name is not important. I run RH6.1 which installs a crontab that runs any script in /etc/cron.daily everyday at around 4AM.WebCatalogCtl uses kill -2 which is normally catch by the application so that it can terminate gracefully, but, better safe than sorry and make sure your databases are commited.I also have a modified WebCatalogCtl script that runs every minute also with cron. The only modif I made was removing the WebCatalog already running message so that I don't get emailed everytime the script is run.WebCat crashing 4 times in the last 2 weeks has prompted me to do those scripts.Clem.At 09:57 12/8/99, Paul Uttermohlen wrote:>Did anyone post a script?>>Did I miss it?>>Paul>> >Hi folks, some of you on unix I know are using scipt(s) to restart webcat> >when it> >dies...> >I am on Linux (RedHat 6) and would love to have hold of such a script...> >Can someone share with me such a script ?> >-John-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
Here is what I do. In the /etc/cron.daily directory I have a script with the following content:#!/bin/sh/etc/rc.d/init.d/WebCatalogCtl restartThe script name is not important. I run RH6.1 which installs a crontab that runs any script in /etc/cron.daily everyday at around 4AM.WebCatalogCtl uses kill -2 which is normally catch by the application so that it can terminate gracefully, but, better safe than sorry and make sure your databases are commited.I also have a modified WebCatalogCtl script that runs every minute also with cron. The only modif I made was removing the WebCatalog already running message so that I don't get emailed everytime the script is run.WebCat crashing 4 times in the last 2 weeks has prompted me to do those scripts.Clem.At 09:57 12/8/99, Paul Uttermohlen wrote:>Did anyone post a script?>>Did I miss it?>>Paul>> >Hi folks, some of you on unix I know are using scipt(s) to restart webcat> >when it> >dies...> >I am on Linux (RedHat 6) and would love to have hold of such a script...> >Can someone share with me such a script ?> >-John-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Clement Ross
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:
Random tags HELP!!!! (1999)
WebCatalog: Server Will not Stay up & running (2001)
using showpage and showcart commands (1996)
Find Duplicates in Cart (2001)
WCS Newbie question (1997)
Replacing entry (1998)
Projects & Contractors (1997)
Formulas.db + Users.db (1997)
Help SM: Duplicate cart #'s - still! (2003)
Major Security Hole IIS NT (1998)
RE: protect tag not working (1998)
Creating main- and sub-category search (1997)
Hyperboard users wanting a quoted message (1998)
[WebDNA] Webserver does not respond occasionally (2018)
[OT] Stuff (2002)
Rhapsody? (1997)
E-Mail (1998)
Global variables are not always global ... (2000)
[shipCost] math formula? (1997)
[WebDNA] WebDNA Technical Change History (2019)