Problems using mutt and autobackup script


In an attempt to backup my SQL databases I’m following these instructions: (

The script appears to run successfully (except I always have to remove the $suffix piece from the mutt command), but I never receive an email.

However if I run this line all alone(clearing out the $suffix part).

mutt -a /home/username/backups/archives/mysql_backup.$suffix.tar -s “MySQL Backup”

I get dumped to a mutt screen to confirm the To: address and Subject: line… Which if I do results in an email in my inbox with my database.

If I cron the entire script I get nothing (I’m assuming out there somewhere mutt is looking for confirmation on To: and Subject:…Is there a switch to force mutt to proceed without confirmation?