Home > Archive > PERL Beginners > July 2005 > send a HUP signal
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| me again ;)
i don't even know if this is going to be possible, but i'll ask anyway.
my perl program runs as a constant process in the background. is there
anyway i can make another program/script send a HUP, or any kind of, signal
to the process, to say, force a re-read of a database or something, to get
it to act on data sent by a user from a website or something. i don't want
to go to the trouble of trying to build a webserver into the program as
well, if i can simply send a signal to the program, then get the website to
enter data into a specific part of a database, then send a signal to the
process id to get it to (re)read that portion of the database.
thanks for your help,
dan
| |
| Peter Scott 2005-07-24, 8:29 pm |
| On Sat, 23 Jul 2005 13:07:51 +0100, Dan wrote:
> i don't even know if this is going to be possible, but i'll ask anyway.
> my perl program runs as a constant process in the background. is there
> anyway i can make another program/script send a HUP, or any kind of, signal
> to the process, to say, force a re-read of a database or something, to get
> it to act on data sent by a user from a website or something. i don't want
> to go to the trouble of trying to build a webserver into the program as
> well, if i can simply send a signal to the program, then get the website to
> enter data into a specific part of a database, then send a signal to the
> process id to get it to (re)read that portion of the database.
Look at the first part of perldoc perlipc.
--
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
|
|
|
|
|