This command:
/usr/bin/mysqldump --add-drop-table -u myuser -pmypass mydb > "/home/myuser/dbBackups/"`date +%Y%m%d`".sql"
works fine from the command line, but when b cron starts it, I get
/bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 1: syntax error: unexpected end of file
The command is also on the same line in crontab, so the links to lines 0 and line 1 are confusing me ...
Can anyone advise me what I'm doing wrong there?
source
share