Joseph Simmons wrote:
I added the full path and the result didn't change. I can still see it
running in the log but the script doesn't appear to be doing anything.

I have the following variables set in the root's crontab


The file I'd like to execuate has the following permissions


it's own by root, the contents of the file are below

date_time=$(/bin/date "+%Y-%m-%d-%H-%M-%S")

/usr/local/bin/mysqldump -u backup_user -pPassWord DataBase

I run the same script, however without the credentials. Those are in ~/.my.cnf

user = backupuser
password = thepassword
host =

my backup script:

ra% cat bkupdb

DATUM=`date +%Y%m%d`

nice -19 /usr/local/bin/mysqldump -A --single-transaction > /home/peter/backup/mysql-${DATUM}.sql
gzip /home/peter/backup/mysql-${DATUM}.sql

nb: DATUM = Dutch for date



_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to