Re: vacuumdb and pg_dump are not running under cron

From: Jason Tishler <jason(at)tishler(dot)net>
To: Jeff Lu <jklcom(at)mindspring(dot)com>
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: vacuumdb and pg_dump are not running under cron
Date: 2003-05-12 19:37:50
Message-ID: 20030512193750.GI1708@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Jeff,

Please keep your replies on-list.

On Mon, May 12, 2003 at 03:26:48PM -0400, Jeff Lu wrote:
> I do not have permission problem when executing the script file from a
> command line

Does the cron job run as the same user as the one invoking the command
line? For example, what does the following cron job indicate?

*/1 * * * * id >>/tmp/id.txt

And, what does the following indicate?

$ id

Do they agree?

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jeff Lu 2003-05-12 19:55:17 Re: vacuumdb and pg_dump are not running under cron
Previous Message Jason Tishler 2003-05-12 19:11:38 Re: vacuumdb and pg_dump are not running under cron