Re: vacuumdb and pg_dump are not running under cron

From: "Jeff Lu" <jklcom(at)mindspring(dot)com>
To: "'Jason Tishler'" <jason(at)tishler(dot)net>
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:55:17
Message-ID: 008b01c318c0$69b67ae0$1501a8c0@DemoServer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)tishler(dot)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

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-05-12 20:02:27 Re: vacuumdb and pg_dump are not running under cron
Previous Message Jason Tishler 2003-05-12 19:37:50 Re: vacuumdb and pg_dump are not running under cron