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

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

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -