Re: Running vacuum on cron - Mailing list pgsql-general

From Fran Fabrizio
Subject Re: Running vacuum on cron
Date
Msg-id 3BDD9658.F881C3C8@mmrd.com
Whole thread Raw
In response to Running vacuum on cron  (Pedro Alves <pmalves@think.co.pt>)
List pgsql-general
Pedro Alves wrote:

>         Hi. Is there any way to put a vacuum and a vacuum analyze (the
> second does everything the first does? Or do I need to use both?) in a cron
> so that it is executed nightly?

Sure....this is from my cron...

30 0 * * * /usr/local/pgsql/bin/vacuumdb -q -a

-Fran


pgsql-general by date:

Previous
From: "Robert B. Easter"
Date:
Subject: Re: trigger function in plpgsql (newbie)
Next
From: "Steve Wolfe"
Date:
Subject: Re: Running vacuum on cron