Results 1 to 2 of 2

Thread: cron question

  1. #1
    Join Date
    Feb 2010
    Location
    Staffordshire, England
    Posts
    21

    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

  2. #2
    Join Date
    Feb 2010
    Location
    Staffordshire, England
    Posts
    21

    Default

    Have managed to get this working now, playing around with it and it works.

    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •