Re: Crontab problem with backup - Mailing list pgsql-novice

From Alan Hodgson
Subject Re: Crontab problem with backup
Date
Msg-id 200604142024.28383@hal.medialogik.com
Whole thread Raw
In response to Crontab problem with backup  (Kirti <kirti@UNSWalumni.com>)
List pgsql-novice
On April 14, 2006 06:58 pm, Kirti <kirti@unswalumni.com> wrote:

> What logs do I need to check to find the problem?

Wherever your system logs the output from cron.  RedHat Linux and
derivatives will have a /var/log/cron or something similar (if you happen
to be running Linux).  The postgres user probably got email about it, too.

> What might be a way to
> test the script?

su - postgres
run the command

This will uncover most problems, outside of obscure path differences between
a normal login session and what cron provides.   Also make sure the user is
allowed to execute cron jobs.

Your cron log most likely will tell you what went wrong, though.

--
Alan


pgsql-novice by date:

Previous
From: Kirti
Date:
Subject: Crontab problem with backup
Next
From: Tom Lane
Date:
Subject: Re: Crontab problem with backup