Well, I did have the -U argument using $PGUSER. However, I made the all too
common mistake of forgetting that cron may or maynot have particular
environmental variables set.
Thanks...
>
> You should make your cron script to connect as the proper user, probably
> using the -U option of psql or vacuumdb. Otherwise the user name defaults
> to one of various things, which is probably not desired here.
>
> --
> Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/