sh script linux vacuumdb -


i want vacuumdb database wsemp0331 everytime ran in crontab, i'm getting error in log file:

 line 3: vacuumdb: command not found 

the command use is:

vacuumdb -h 127.0.0.1 -p 5432 -u janet -d wsemp0331 -vz > /home/empbackup/public_html/backup/log/dbmaintenance_`date +%y%m%d%h%m`.log 

i have added host, port, , user. idea?

the database in same server script (crontab) located.


Comments

Popular posts from this blog

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -