One time setup. -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Gadi Ben-Avi Sent: Monday, December 30, 2019 1:33 AM To: [email protected] Subject: Re: Chaning time zone for Unix based tasks
Thanks Is this a onetime setup, or would I have to do this twice a year? Gadi -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Monday, December 30, 2019 9:28 AM To: [email protected] Subject: Re: Chaning time zone for Unix based tasks On Mon, 30 Dec 2019 07:09:19 +0000, Gadi Ben-Avi wrote: >I know, bit that requires editing a file. >I want something that can be done using automation. > A better approach, extracting information from Linux, which does it right: 503 $ tail -1 /usr/share/zoneinfo/Asia/Tel_Aviv IST-2IDT,M3.4.4/26,M10.5.0 So: TZ=IST-2IDT,M3.4.4/26,M10.5.0 export TZ See: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpubs.opengroup.org%2Fonlinepubs%2F007908799%2Fxbd%2Fenvvar.html&data=02%7C01%7Callan.staller%40HCL.COM%7C05ed9cd45e5d4796e6e308d78cfa994a%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637132880288380164&sdata=syRZCr5cUu78uANGQS33rdcKaygYTrxbawsdxACvFzU%3D&reserved=0 Unfortunately, this must be set in several places. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN Email secured by Check Point ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ::DISCLAIMER:: ________________________________ The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
