Re: vacuumdb and pg_dump are not running under cron - Mailing list pgsql-cygwin

From Jeff Lu
Subject Re: vacuumdb and pg_dump are not running under cron
Date
Msg-id 008b01c318c0$69b67ae0$1501a8c0@DemoServer
Whole thread Raw
In response to Re: vacuumdb and pg_dump are not running under cron  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin
From $id
uid=500(Administrator) gid=513(None)
groups=544(Administrators),545(Users)

From cron
uid=500(Administrator) gid=513(None) groups=513(None),545(Users)

The groups are different.  Why is that?

Thanks
-Jeff

-----Original Message-----
From: Jason Tishler [mailto:jason@tishler.net]
Sent: Monday, May 12, 2003 3:38 PM
To: Jeff Lu
Cc: Pgsql-Cygwin
Subject: Re: vacuumdb and pg_dump are not running under cron


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


pgsql-cygwin by date:

Previous
From: "Jeff Lu"
Date:
Subject: Re: vacuumdb and pg_dump are not running under cron
Next
From: "Jeff Lu"
Date:
Subject: Re: vacuumdb and pg_dump are not running under cron