Different timezone settings for each elog, posted by gary holman on Wed Jun 10 17:30:34 2015
|
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 |
Re: Different timezone settings for each elog, posted by Stefan Ritt on Wed Jun 10 18:13:50 2015
|
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
|
|
Re: Different timezone settings for each elog, posted by gary holman on Wed Jun 10 20:18:06 2015
|
<p> </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: <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> </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. 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. </p>
<p>thanks,</p>
<p> </p>
<p>Gary</p>
</td>
</tr>
</tbody>
</table>
<p> </p>
</td>
</tr>
</tbody>
</table>
<p> </p> |
Re: Different timezone settings for each elog, posted by gary holman on Wed Jun 10 20:37:48 2015
|
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
|
|
|
Re: Different timezone settings for each elog, posted by gary holman on Wed Jun 10 22:02:33 2015
|
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
|
|
|
|
Re: Different timezone settings for each elog, posted by gary holman on Thu Jun 11 01:32:26 2015
|
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
|
|
|
|
|
Import a CSV, posted by Ben on Mon Apr 2 15:46:59 2012
|
I am trying to import a CSV file in to a logbook. The Attributes seem to import fine but it kicks out the first 2 columns of data and shifts the data over to the left by 2 columns. Has anyone tried to do this? |
Re: Import a CSV, posted by Stefan Ritt on Mon Apr 2 15:48:25 2012
|
Ben wrote: |
I am trying to import a CSV file in to a logbook. The Attributes seem to import fine but it kicks out the first 2 columns of data and shifts the data over to the left by 2 columns. Has anyone tried to do this?
|
The CSV file must be wrongly formatted. But I don't see it I can't tell you what's wrong. |