Hi I have created a cron job via my websites cPanel to backup our mySQL database each week using mysqldump, but I keep getting the following error via my email notification and I can not figure out what the problem is with the command line syntax. The only thing I can think of is there is a '(' character within my password string - could this be causing the problem?
The error received is:
/usr/local/cpanel/bin/jailshell: -c: line 0: syntax error near unexpected token `('
/usr/local/cpanel/bin/jailshell: -c: line 0: `/usr/bin/mysqldump -u myusername -pPassword123](8 mydatabasename > /home/sitefolder/backups/weeklybackup.sql'
Any help is much appreciated
Julie
The error received is:
/usr/local/cpanel/bin/jailshell: -c: line 0: syntax error near unexpected token `('
/usr/local/cpanel/bin/jailshell: -c: line 0: `/usr/bin/mysqldump -u myusername -pPassword123](8 mydatabasename > /home/sitefolder/backups/weeklybackup.sql'
Any help is much appreciated
Julie