Skip to content

Conversation

@john3571
Copy link
Contributor

@john3571 john3571 commented Oct 4, 2012

No description provided.

@john3571
Copy link
Contributor Author

john3571 commented Oct 4, 2012

fixed cmd

script/funcs.pl Outdated

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove su. the cron should be run as postgres user

@john3571
Copy link
Contributor Author

john3571 commented Oct 9, 2012

there is a new vacuum command, it is better than the old one.

It will always execute the vacuum command as postgres user. if the cron runs from root, it will use an su postgres. if the cron is run as postgres user, it will use the vacuum command directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants