The > /dev/null 2>&1 at the end of the command send all output to stdout and stderr to /dev/null, deleting that bit means cron will catch all output including any error messages and email to the user running the cron job.
The rest of the command looks allright to me, just change the username, password, database name, file paths to suit your setup