Jump to content

set up cron script, but it executes & permission denied?


Recommended Posts

Hi I used vestacp to set up a simple cron command to run every hour. The good news is that it is running every hour.

The bad news is that it emails me each hour saying "permission denied" Here is my command (changes to protect my security)

 mysqldump -uMY DB USER -pMYPASSWORD MYDB > /home/myuser/web/mysite/public_html/dbbackup/mybackup.sql

and here is the error message I am getting

/bin/sh: /home/myuser/web/mysite/public_html/dbbackup/mybackup.sql: Permission denied

any ideas? And advice?

Thank you.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...