Re: Monitoring with pg_controldata

From: "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Tim Uckun <timuckun(at)gmail(dot)com>
Subject: Re: Monitoring with pg_controldata
Date: 2009-07-29 22:59:40
Message-ID: 200907291559.40475.uwe@oss4u.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Wednesday 29 July 2009, Tim Uckun wrote:
>
> What is the issue here? Some sort of a timezone problem? How do I tell
> it what time zone to use?
>
> Thanks.

cron runs programs in a very limited environment. Things like TZ etc. are
usually not set. To see what your cron sets, just run a shell script with
something like

#!/bin/sh
env

and look at the email you get with the output.
Read the cron/crontab manpage. It tells you how to set environment variables
for your scripts.

HTH

UC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2009-07-29 23:12:27 Re: combining db's- importing primary keys
Previous Message Alan Deane 2009-07-29 22:58:45 V8.3 fails to start after unremming hba_file = 'ConfigDir/pg_hba.conf'