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
Post a Comment