Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 231 of 808  Not logged in ELOG logo
    icon2.gif   Re: calling a shell in the Options tag, posted by Alexandre Lindote on Wed Nov 1 09:53:05 2006 
[quote="Steve Jones"][quote="Alexandre Lindote"]Hi,

 is it possible to run a shell script in an "Options" tag, as it is with the "Preset", "Subst", and so on?
    icon2.gif   Re: calling a shell in the Options tag, posted by Stefan Ritt on Thu Nov 9 20:59:01 2006 
[quote="Alexandre Lindote"]Hi,

 is it possible to run a shell script in an "Options" tag, as it is with the "Preset", "Subst", and so on?
    icon2.gif   Re: call a shell from ELOG / new button [Submit & Notify], posted by Stefan Ritt on Mon Jan 13 11:45:18 2003 
I put this on the wish list.

- Stefan
    icon2.gif   Re: calculate the value of one attribute depending upon the value of other attribute., posted by Andreas Luedeke on Mon Jan 26 15:56:41 2015 
If you have the following elogd.cfg:

Attributes = START, END, DURATION
subst DURATION = $shell( /usr/local/elog/diff.sh \"$START\" \"$END\")

Show Attributes Edit = START,
    icon2.gif   Re: calculate the value of one attribute depending upon the value of other attribute., posted by dev on Mon Jan 26 19:24:02 2015 
I tried that It is not calculating  and it is giving the error "Shell execution not enabled via -x flag ".I started elogd -x from command prompt  it still gives the
same error.
    icon2.gif   Re: calculate the value of one attribute depending upon the value of other attribute., posted by Andreas Luedeke on Tue Jan 27 15:59:59 2015 
Yes, I forgot to mention that you need to enable shell script execution by starting the server with "elogd -x".

Before you start elogd from the command line you need to shutdown any running elogd; otherwise the port is blocked and the command line elogd
cannot start: "sudo /sbin/service elogd stop"
    icon2.gif   Re: calculate the value of one attribute depending upon the value of other attribute., posted by dev on Tue Jan 27 17:18:17 2015 
I am working in window system.Itries using elogd  stop and start  command  but it is always showing it is running.Kindly help  me
 thanking you.




Andreas
    icon2.gif   Re: calculate the value of one attribute depending upon the value of other attribute., posted by Andreas Luedeke on Wed Jan 28 09:57:11 2015 
Unfortunately I cannot help you with Windows. But you must have started the service somehow in the first place: that is where I would expect you can
stop it as well.




dev
ELOG V3.1.5-3fb85fa6