Crontab and mysqldump
I have made a crontab task to make a copy of all the databases on my system.
It works fine when running it via SSH but gives a different output when running it via a crontab task. When i schedule it; it outputs the help information into a file rather then the SQL/databases them self
What does the crontab entry look like and what do you have in the script to dump the data?
I use automysqlbackup
search for it on sourceforge.net
My Crontab command was :
mysqldump -u myusername -p mypassword --all-databases > ../root/btpbackup/07/october/db_export.sql