E
Estores
Guest
We have a php backup script which runs the following command (password removed):
exec('/usr/bin/mysqldump -hlocalhost -u db_user -p********** db_galleyfm | gzip >
/var/www/vhosts/somedomain.com/httpdocs/control/backups/backup_tue.sql.gz');
This script runs without error when run via a url, and the command works ok in Putty via SSH, but gives the following error in an automated email when run via a cron:
sh: /mysqldump: No such file or directory
This is on a dedicated server with Parellels Plesk 9.0.1.
Any advice please? The provider is not willing to assist.
exec('/usr/bin/mysqldump -hlocalhost -u db_user -p********** db_galleyfm | gzip >
/var/www/vhosts/somedomain.com/httpdocs/control/backups/backup_tue.sql.gz');
This script runs without error when run via a url, and the command works ok in Putty via SSH, but gives the following error in an automated email when run via a cron:
sh: /mysqldump: No such file or directory
This is on a dedicated server with Parellels Plesk 9.0.1.
Any advice please? The provider is not willing to assist.