Hi All
I have written a script to use with the cron to backup mysql databases.
Problem is when the script runs i get a e-mail to say it cant find the location of what i am trying to run, i have checked with my web provider and the path is :
/home/USERNAME/
so in the command i am doing
bash /home/USERNAME/public_html/backup.sh
The backup.sh is in the public_html dir.
But it wont find it when that is that path, what am i doing wrong ? missing the obvious i guess but what ?
Thanks
I have written a script to use with the cron to backup mysql databases.
Problem is when the script runs i get a e-mail to say it cant find the location of what i am trying to run, i have checked with my web provider and the path is :
/home/USERNAME/
so in the command i am doing
bash /home/USERNAME/public_html/backup.sh
The backup.sh is in the public_html dir.
But it wont find it when that is that path, what am i doing wrong ? missing the obvious i guess but what ?
Thanks