Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 377 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  68001   Wed Jun 10 12:56:58 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionAll3.1Re: Formatting multiple datetime entries

Neal Grafton wrote:
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End?


I guess you want to do some more complex calculations, like adding the running times, etc. This goes beyond the scope of elog. You can however export elog entries as a CSV file and import it in a spreadsheet program and do there all calculations you want.

/Stefan
  68002   Wed Jun 10 13:00:07 2015 Reply Neal Graftonneal.grafton@stfc.ac.ukQuestionAll3.1Re: Formatting multiple datetime entries

Stefan Ritt wrote:

Neal Grafton wrote:
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End?


I guess you want to do some more complex calculations, like adding the running times, etc. This goes beyond the scope of elog. You can however export elog entries as a CSV file and import it in a spreadsheet program and do there all calculations you want.

/Stefan


Thanks Stefan



Neal
  68006   Wed Jun 10 17:30:34 2015 Entry gary holmanholman@uw.eduQuestionLinuxV2.9.1-244Different timezone settings for each elog

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

  68008   Wed Jun 10 18:13:50 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxV2.9.1-244Re: Different timezone settings for each elog

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

  Draft   Wed Jun 10 20:18:06 2015 Reply gary holmanholman@uw.eduQuestionLinuxV2.9.1-244Re: Different timezone settings for each elog
<p>&nbsp;</p>

<table align="center" cellspacing="1" style="border:1px solid #486090; width:98%">
<tbody>
<tr>
<td style="background-color:#486090">Stefan Ritt wrote:</td>
</tr>
<tr>
<td style="background-color:#FFFFB0">
<p>The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here:&nbsp;<a href="http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/">http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/</a></p>

<p>If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.</p>

<p>&nbsp;</p>

<table align="center" cellspacing="1" style="border:1px solid #486090; width:98%">
<tbody>
<tr>
<td style="background-color:#486090">gary holman wrote:</td>
</tr>
<tr>
<td style="background-color:#FFFFB0">
<p>I have multiple elogs running on a server.&nbsp; Is it possible to set one elog to a different timezone?&nbsp; For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.&nbsp; I would like to set each elog to their respective timezone.&nbsp;</p>

<p>thanks,</p>

<p>&nbsp;</p>

<p>Gary</p>
</td>
</tr>
</tbody>
</table>

<p>&nbsp;</p>
</td>
</tr>
</tbody>
</table>

<p>&nbsp;</p>
  68010   Wed Jun 10 20:37:48 2015 Reply gary holmanholman@uw.eduQuestionLinuxV2.9.1-244Re: Different timezone settings for each elog

Thanks Stefan,  It looks like the group had actually contacted you directly as well (sorry for the redundant work!).  Thanks for the help, the great application and your time.

 

Stefan Ritt wrote:

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

 

  68011   Wed Jun 10 22:02:33 2015 Reply gary holmanholman@uw.eduQuestionLinuxV2.9.1-244Re: Different timezone settings for each elog

Still no luck changing the TZ for a single elog service.  I completed the following:

* I added a new user/group - central-tz-user (id 1010)
* changed user TZ to central, su as user and confirmed CDT via 'date'
* changed elogd.cfg usr and grp to central-tz-user
* changed elog directory recursively to central-tz-user ownership
* restarted the elog instance and confirmed via 'ps aux' that 1010 is running elog process
* When I go to elog and add new entry, server time (PDT) is shown. 

Am I missing a step here possibly?

 

gary holman wrote:

Thanks Stefan,  It looks like the group had actually contacted you directly as well (sorry for the redundant work!).  Thanks for the help, the great application and your time.

 

Stefan Ritt wrote:

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

 

 

  68012   Thu Jun 11 01:32:26 2015 Reply gary holmanholman@uw.eduQuestionLinuxV2.9.1-244Re: Different timezone settings for each elog

Okay, I missed the obvious...

sudo -u central-tz-user (start elog)

gary holman wrote:

Still no luck changing the TZ for a single elog service.  I completed the following:

* I added a new user/group - central-tz-user (id 1010)
* changed user TZ to central, su as user and confirmed CDT via 'date'
* changed elogd.cfg usr and grp to central-tz-user
* changed elog directory recursively to central-tz-user ownership
* restarted the elog instance and confirmed via 'ps aux' that 1010 is running elog process
* When I go to elog and add new entry, server time (PDT) is shown. 

Am I missing a step here possibly?

 

gary holman wrote:

Thanks Stefan,  It looks like the group had actually contacted you directly as well (sorry for the redundant work!).  Thanks for the help, the great application and your time.

 

Stefan Ritt wrote:

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

 

 

 

ELOG V3.1.5-3fb85fa6