Bash Script - CRON job to back up a database weekly
I need a Bash Script to run a CRON job of backing up the database every week on tuesdays. I'm using mySQL databse.

mysqldump -u*user* -p*password* -h localhost databasename > /.../dailbackup/final_db_$(date +%Y-%m-%d_%H_%M).sql

would this one work^^^?
Bash Script - CRON job to back up a database weekly
===

I need a Bash Script to run a CRON job of backing up the database every week on tuesdays. I'm using mySQL databse.

mysqldump -u*user* -p*password* -h localhost databasename > /.../dailbackup/final_db_$(date +%Y-%m-%d_%H_%M).sql

would this one work^^^?