| From: | Jeremiah Davis <jdavis(at)gaslightmedia(dot)com> |
|---|---|
| To: | Brian <signal(at)shreve(dot)net> |
| Cc: | pgsql-general(at)postgreSQL(dot)org |
| Subject: | Re: [GENERAL] Using psql on command line |
| Date: | 1998-09-04 15:23:19 |
| Message-ID: | Pine.3.89.9809041153.B5630-0100000@onramp.freeway.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Just test it.. worked like this..
psql -c 'vacuum table;' -d database
On Fri, 4 Sep 1998, Brian wrote:
> I would like to run a cron job nightly to vaccuum a few databases, but how
> do you execute from just a command line? I tried like:
>
> psql mydb < vacuum
> psql mydb | vacuum
>
> etc.
>
> Thanks.
>
> Brian
>
>
> --------------------------------------------------------------------------
> Brian Feeny (BF304) | ShreveNet Inc. - Premium Internet Service Provider
> Network Administrator | Shreveport, Louisiana - http://www.shreve.net/
> signal(at)shreve(dot)net | Web Hosting, Virtual Domains, Storefronts,
> (318)222-2NET x 109 | Database/Web Integration, 56k, ISDN, T1
>
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 1998-09-04 15:54:08 | Re: [HACKERS] Re: CIDR/IP types. Was: [GENERAL] big numbers] |
| Previous Message | Jeremiah Davis | 1998-09-04 15:20:47 | Re: [GENERAL] Using psql on command line |