Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Conditional Email Notification by a text file, posted by An Thai on Thu Nov 2 14:34:36 2006 
    icon2.gif   Re: Conditional Email Notification by a text file, posted by Steve Jones on Thu Nov 2 23:16:11 2006 
       icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Fri Nov 3 01:03:33 2006 
          icon2.gif   Re: Conditional Email Notification by a text file, posted by Steve Jones on Fri Nov 3 03:42:18 2006 
             icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Thu Nov 9 20:45:32 2006 
                icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Thu Nov 9 23:25:15 2006 
                   icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Fri Nov 10 07:51:59 2006 
                      icon2.gif   Re: Conditional Email Notification by a text file, posted by Grant Jeffcote on Sat Nov 11 06:56:16 2006 
                         icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Sat Nov 11 18:36:44 2006 
                            icon2.gif   Re: Conditional Email Notification by a text file, posted by Grant Jeffcote on Sat Nov 11 18:48:48 2006 
                               icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Sat Nov 11 18:54:59 2006 
                                  icon2.gif   Re: Conditional Email Notification by a text file, posted by Grant Jeffcote on Sat Nov 11 21:31:33 2006 
                                     icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Wed Nov 15 20:22:29 2006 
                                        icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Thu Nov 16 14:07:32 2006 
                                           icon5.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Thu Mar 1 15:27:31 2007 
                                              icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Thu Mar 1 22:10:11 2007 
                                                 icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Tue Mar 6 13:49:17 2007 
                                                    icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Tue Mar 6 13:55:15 2007 
Message ID: 2071     Entry time: Sat Nov 11 06:56:16 2006     In reply to: 2069     Reply to this: 2072
Icon: Reply  Author: Grant Jeffcote  Author Email: grant@jeffcote.org 
Category: Question  OS: Windows  ELOG Version: 2.6.2.1723 
Subject: Re: Conditional Email Notification by a text file 
Stefan, this is a great idea (thanks An).

I can't seem to get this working when Elogd is started as a service though?
Starting elogd (-x) manually works fine and with the -v switch I can see it is operating correctly but obviously the service option is preferred.
The service ("D:\ELOG\elogd.exe" -x -D -c "D:\ELOG\elogd.cfg") is starting correctly using the -x switch (as I use the shell command for other elog options) but it doesn't seem to send the mail.
Is this a 'feature' ;o)

Thx



Stefan Ritt wrote:

An Thai wrote:
I tested many times and find out the problem.
The first opening CMD and running "elogd -v -x". It works perfektly.
Close the CMD: It stops to work.
From this time point it never works again even I try to re-open CMD and run "elogd -v -x"
The computer must be rebooted to get it works. (The CMD for running elogd -x must be always opened !!!)


You probably run two servers in parallel. If you install the standard windows package, an elogd service is created and started. If you open a command window and run elogd manually, you have it running twice, and you never know to which instance your browser connects to. So first start the server with net stop elogd and then open the command window and start elogd manually.
ELOG V3.1.5-fe60aaf