Hi,
I have made a simple daemon using Net::Daemon but if the client sends a
content that has more lines, the daemon takes each line as a separate
content.
Are there any methods to specify that all the lines starting from a certain
special character and ending on another special character are a
hi all,
I need a program to run like a daemon. it should do:
look in a directory for some flag-files, if some exist the daemon
should start other programs, then the daemon should sleep for let´s say
5 seconds and begin again...
how must I create such a daemon and how can I stop him working with
i did not understand the part about working with samll scripts but you could
do somehting like this ... not tested
#!perl
while(1) {
if ( -s $flag_file_location ) {
system($command_to_execute) or warn Cannot execute command\n;
Hi all,
I seem to remember a long time ago, a small guide to creating a daemon, wich
included such topics as detaching stdin/out/err from the starting tty,
chdiring to root so as not to prevent unmounting /home etc.
Does this ring a bell with anyone?
Gary
On Monday 03 September 2001 2:46 pm
There is a big section in the Perl Cookbook( O'Reilly) that show you step
by step detail of how to create a daemon.
peter grotz wrote:
hi all,
I need a program to run like a daemon. it should do:
look in a directory for some flag-files, if some exist the daemon
should start other