ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: Aleksey Novodvorsky <sisyphus@altlinux.ru>
Subject: [sisyphus] fwctl timezone problems
Date: Mon, 2 Jul 2001 13:35:22 +0400
Message-ID: <20010702133522.B3311@localhost.localdomain> (raw)
In-Reply-To: <814934976.20010702150828@ikar.zaural.ru>; from igor@ikar.zaural.ru on Mon, Jul 02, 2001 at 03:08:28PM +0600

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.



  reply	other threads:[~2001-07-02  9:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28 23:10 [sisyphus] GCC 3.0 Mikhail Zabaluev
2001-06-28 20:33 ` Aleksey Novodvorsky
2001-06-29  4:28   ` Sergei
2001-06-29  6:44   ` Andrey Brindeew
2001-06-29  7:55     ` Aleksey Novodvorsky
2001-07-02  9:08   ` Re[2]: " Igor Vodennikov
2001-07-02  9:35     ` Mikhail Zabaluev [this message]
2001-07-02 10:13       ` [sisyphus] fwctl timezone problems Igor Vodennikov
2001-07-03 19:55         ` Mikhail Zabaluev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010702133522.B3311@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git