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