Thread: cron question
View Single Post
  #1 (permalink)  
Old 09-02-2010, 11:10
duncan320 duncan320 is offline
Junior Member
 
Join Date: Feb 2010
Location: Staffordshire, England
Posts: 21
Send a message via AIM to duncan320 Send a message via MSN to duncan320 Send a message via Yahoo to duncan320 Send a message via Skype™ to duncan320
Default cron question

Having a few issues with a cron job, i have just sucessfully wrote a cron with a script to backup my entire site to a zip file so i know cron is ok.

I am trying to backup the mysql db's

I am using the following command, but when ran at a set time, no backups and no e-mail either any idaas why.

/usr/bin/mysqldump -u username -ppassword dbanme > /home/myusername/backup-$(date +\%d\%m\%Y).sql

Thanks
Reply With Quote