From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 2 Jul 2001 13:35:22 +0400 From: Mikhail Zabaluev To: Aleksey Novodvorsky Message-ID: <20010702133522.B3311@localhost.localdomain> Mail-Followup-To: Mikhail Zabaluev , Aleksey Novodvorsky References: <20010629031035.A23903@localhost.localdomain> <3B3B94A7.BEA96C08@logic.ru> <814934976.20010702150828@ikar.zaural.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <814934976.20010702150828@ikar.zaural.ru>; from igor@ikar.zaural.ru on Mon, Jul 02, 2001 at 03:08:28PM +0600 Subject: [sisyphus] fwctl timezone problems Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: Hello Igor, On Mon, Jul 02, 2001 at 03:08:28PM +0600, Igor Vodennikov wrote: > > что-то еще с перлом не в поряке или fwctl. В /etc/cron.d/fwctl одна > из строк звучит так: 0 * * * * root /usr/sbin/fwctllog --start > "`date --date '1 hour ago' +\%Y-\%m-\%d' '\%H:00`" --period '1h' /var/log/messages >> /var/log/fwctl_log > > На ее выпонение идет ругань: > > ERROR: Date::Manip unable to determine TimeZone. > Date::Manip::Date_TimeZone called at /usr/lib/perl5/site_perl/5.6.1/Date > /Manip.pm line 629 > Date::Manip::Date_Init() called at /usr/lib/perl5/site_perl/5.6.1/Date/M > anip.pm line 1365 > Date::Manip::ParseDate('2001-07-02 14:00') called at /usr/lib/perl5/site > _perl/5.6.1/Fwctl/Report.pm line 279 > Fwctl::Report::parse_date('2001-07-02 14:00') called at /usr/sbin/fwctll > og line 194 Попробуйте добавить %z к формату даты: "`date --date '1 hour ago' +\%Y-\%m-\%d' '\%H:00' '%z`" -- Stay tuned, MhZ JID: mookid@jabber.org ___________ Stellar rays prove fibbing never pays. Embezzlement is another matter.