Thanks Raghu,
On Mon, Jul 29, 2013 at 1:34 PM, raghu ram <raghuchennuru@xxxxxxxxx> wrote:
On Mon, Jul 29, 2013 at 1:07 PM, Manish Kediyal <kediyal.manish@xxxxxxxxx> wrote:
Thanks Raghu,Is there a shell script for it, i wanna scheduled that through cron.You can create below Script for scheduling purpose:#!/bin/bashPGHOME=/opt/PostgreSQL/9.2/binLOG=/Backup/cron-script-logsLOGFILE=vacuum_analyze_`date +"%Y-%m-%d-%T"`.log$PGHOME/vacuumdb -a -z -v >> $LOG/$LOGFILE 2>> $LOG/$LOGFILEThanks & RegardsRaghu Ram