delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Wed, 27 Jun 2001 12:42:33 +0300 |
Message-Id: | <200106270942.MAA04941@linux.> |
From: | "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il> |
To: | "Trikkaliotis Niklos" <nikolaos DOT trikkaliotis AT serfrance DOT fr> |
Subject: | Re: CRON and time |
CC: | cygwin AT cygwin DOT com |
In-reply-to: | <D8D1A6A7110BD51188B600E018C673D02D9841@ross.dorotech.fr> |
(message from Trikkaliotis Niklos on Wed, 27 Jun 2001 09:03:46 +0200) | |
Organization: | Simon & Wiesel Insurance agency |
Reply-to: | ehud AT unix DOT simonwiesel DOT co DOT il |
References: | <D8D1A6A7110BD51188B600E018C673D02D9841 AT ross DOT dorotech DOT fr> |
X-Mailer: | Emacs 20.7.1 rmail (send-msg 1.104) |
MIME-Version: | 1.0 |
On Wed, 27 Jun 2001 09:03:46 +0200, Trikkaliotis Niklos <nikolaos DOT trikkaliotis AT serfrance DOT fr> wrote: > > 1) Why the time between windows and cygwin is diferent ??? > My windows clock say 09:01 and cygwin say 07:01 The simple solution is to set the TZ env variable like this - export TZ=EST-1EDT The EST-1 means European Standard time 1 hour before UTC (aka GMT). The EDT means that standard (1/4-1/10) daylight saving time is applied. For more exotic places (like Israel) where the "daylight saving time" dates are changed from year to year, this simple solution won't work. These places need a special timezone file. The file place is: /usr/local/etc/zoneinfo/localtime this file is produced by the zic program. The input file format is described in the zic man page. The above information is contained in tzset(3) and tzfile(5) man pages. Regretfully, the zic program was not ported to Cygwin and the above man pages are not in the distribution, and the localtime(3) man page that is included with Cygwin has MUCH less information then the Linux localtime(3) man page. I have the zic source and I'll try porting it. I also think that the Cygwin distribution should include the above mentioned man pages (copied as is from the Linux distribution). > 2) I have install and starting cron as service, i have a crontab file, ex: > 0 9 * * * touch /tmp/FileFromCron > but the command is never running !!! You need to run the the cron daemon. See /usr/doc/Cygwin/cron.README by Corrina (this readme is Cygwin addition to the /usr/doc/cron/README). Ehud. -- Ehud Karni Mivtach - Simon Insurance /"\ Tel: +972-3-6212-757 Fax: +972-3-6292-544 \ / ASCII Ribbon Campaign (USA) Fax and voice mail: 1-815-5509341 X Against HTML Mail Better Safe Than Sorry / \ mailto:ehud AT unix DOT simonwiesel DOT co DOT il http://www.simonwiesel.co.il -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |