Sponsored Content
Full Discussion: PostgreSQL vacuum in cron
Special Forums UNIX and Linux Applications PostgreSQL vacuum in cron Post 302563442 by orange47 on Tuesday 11th of October 2011 08:39:15 AM
Old 10-11-2011
but I've redirected cronjob to > /dev/null 2>&1 because email is not configured/not running

here is the script:
Code:
#! /bin/sh

/usr/local/pgsql/bin/vacuumdb   -z -d edb -U postgres
eventremover.sh

 
All times are GMT -4. The time now is 08:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy