ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2074
|
Sat Nov 11 18:54:59 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file |
Grant Jeffcote wrote: | The problem I have is that when Elog is started as a service using the -x switch then the shell command using An's mail list suggestion does not work? Starting the elogd daemon manually (ie using the command prompt) does work. |
When elogd runs as a service, it needs all paths to be absolute, like having the full c:\dir\subdrir\.... Do you have this? What about file access permission? You can try to do a Preset text = <file> with your email list, to see if elogd can actually access this file at all. |
2075
|
Sat Nov 11 21:31:33 2006 |
| Grant Jeffcote | grant@jeffcote.org | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file |
All paths are absolute and file permissions set to 'everyone'. 'Preset text' results in the contents of the text file being shown so access doesn't seem to be the problem here. Can you reproduce this?
Thx & rgrds
Stefan Ritt wrote: |
Grant Jeffcote wrote: | The problem I have is that when Elog is started as a service using the -x switch then the shell command using An's mail list suggestion does not work? Starting the elogd daemon manually (ie using the command prompt) does work. |
When elogd runs as a service, it needs all paths to be absolute, like having the full c:\dir\subdrir\.... Do you have this? What about file access permission? You can try to do a Preset text = <file> with your email list, to see if elogd can actually access this file at all. |
|
2080
|
Wed Nov 15 20:22:29 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file |
Grant Jeffcote wrote: | Can you reproduce this? |
Yes, I get the same error. Shell substitution does not work when elogd is started as a service. This is a problem deep inside the service management of Windows and I do not know any solution for that. Sorry. |
2081
|
Thu Nov 16 14:07:32 2006 |
| An Thai | thaithan@gmx.de | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file |
I have found the way to get it work properly.
- Open services management (Right click My Computer -> Manage -> Services & Applications -> Services)
- Change elogd statup type to Manual. ->> SORRY: It should be set to Disable !!!
- Create *.bat file in the folder ELOG with Notepad. Type elogd -x in the file.
- Create a Scheduled Task (Start -> Programs - Accessories - System Tools -> Scheduled Tasked). Run Add Scheduled Task . A Wizard will be openned.
- Click Next -> Browser -> open your ELOG folder and select your created *.bat -> select radio button "When my computer starts" -> Next -> type your admin password for the computer -> select Open advanced properties for this task when I click finish.
Good luck!
This setting has worked great since a month. |
2146
|
Thu Mar 1 15:27:31 2007 |
| An Thai | thaithan@gmx.de | Question | Windows | 2.6.4.1801 | Re: Conditional Email Notification by a text file |
Dear All,
I have got very good feedback from my colleagues about Elog logbook which I have made at my work since October 2006. The tool is going to use improving.
At moment, I don't let Elog start as a service (deamon), but as an application (start from a *.bat file). Because I just want to enable of "elogd -x" for reading of email list in an external file. But this cause that Elog cannot be set to automatically restart after a crash. (As a service in Windows, you can set it restart immediatly after crash)
I don't find anywhere in the administrator's guide how I can set the option 'elogd -x' while installing Elog to get a service with '-x' option.
Do you know it?
Dear Stefan,
could you enable it for the install download file for Windows? |
2149
|
Thu Mar 1 22:10:11 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.4.1801 | Re: Conditional Email Notification by a text file |
An Thai wrote: |
Dear Stefan,
could you enable it for the install download file for Windows? |
I tried, but it does not work. A windows service does not let you start a internal command line shell. No way. Use Linux  |
2155
|
Tue Mar 6 13:49:17 2007 |
| An Thai | thaithan@gmx.de | Question | Windows | 2.6.4.1801 | Re: Conditional Email Notification by a text file |
Dear Stefan,
what i mean is that you maybe modify the setup file for Windows (elog-latest.exe) so that everybody can make change of -[options] while install Elog. I am not a Windows expert, but I think that a lot of software can be set or configurated at the first install time (For Example: Path destination, features avaible, ...)
Do you know if it is possible? |
2156
|
Tue Mar 6 13:55:15 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.4.1801 | Re: Conditional Email Notification by a text file |
An Thai wrote: | Dear Stefan,
what i mean is that you maybe modify the setup file for Windows (elog-latest.exe) so that everybody can make change of -[options] while install Elog. I am not a Windows expert, but I think that a lot of software can be set or configurated at the first install time (For Example: Path destination, features avaible, ...)
Do you know if it is possible? |
I don't know how to set-up the scheduled tasks from the installation script. Furthermore, having a application constantly running is somehow unusual, and it will confuse normal people. To my knowledge, not many people use the -x option under Windows. These people how really need it are clever enough (like you) to set-up the batch file manually. |