Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 229 of 801  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown Text Attachments
  67767   Mon Jan 26 15:56:41 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionAll3.3Re: calculate the value of one attribute depending upon the value of other attribute.If you have the following elogd.cfg:

Attributes = START, END,
DURATION
  
  67768   Mon Jan 26 19:24:02 2015 Reply devjoshi868b@gmail.comQuestionAll3.3Re: calculate the value of one attribute depending upon the value of other attribute.I tried that It is not calculating  and
it is giving the error "
  
  67770   Tue Jan 27 15:59:59 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionAll3.3Re: calculate the value of one attribute depending upon the value of other attribute.Yes, I forgot to mention that you need
to enable shell script execution by starting
the server with "elogd -x".
  
  67773   Tue Jan 27 17:18:17 2015 Reply devjoshi868b@gmail.comQuestionAll3.3Re: calculate the value of one attribute depending upon the value of other attribute.I am working in window system.Itries using
elogd  stop and start  command
 but it is always showing it is running.Kindly
  
  67774   Wed Jan 28 09:57:11 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionAll3.3Re: calculate the value of one attribute depending upon the value of other attribute.Unfortunately I cannot help you with Windows.
But you must have started the service somehow
in the first place: that is where I would
  
  68435   Fri Sep 30 11:21:44 2016 Reply Alex Kühnelalexander.kuehnel@gmail.comQuestionLinux3.1.2Re: calculate diff of 2 date(s)I found the solution in the forum :-)

subst Einsatzzeit = $shell(/usr/local/elog/diff.sh
\"$Einsatzbeginn\" \"$Einsatzende\")
  
  68436   Fri Sep 30 11:25:08 2016 Reply Alex Kühnelalexander.kuehnel@gmail.comQuestionLinux3.1.2Re: calculate diff of 2 date(s)is ist possible that subst only
works for the initial create of a logbook
entry? when I change/edit one of the parameter
  
  68437   Fri Sep 30 12:33:38 2016 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.2Re: calculate diff of 2 date(s)There is the "subst on edit = ..."
option you should use in addition.

Stefan
  
ELOG V3.1.5-3fb85fa6