|
|||
|
Auto Backup Script
Hi,
I am sure a number of people out there use Justin Cooks backup up cron script, my question is am getting an email sent me to me once cpanel tries to run the cron job and I am not sure what it means. I am guess it means it cant access the ftp that I wont it to send the backup to, but could someone clarify this please. The email response from cron contains the following; /bin/sh: /home/username/public_html/sender.php: Permission denied Below is the script that I am using, is it correct? it was quiet straight forward so I assume it is; PHP Code:
Last edited by Infopro; 06-29-2009 at 10:02 PM. |
|
|||
|
Ok my cron job just ran now and I received this feedback via email
X-Powered-By: PHP/5.2.9 Content-type: text/html It didnt actually do anything, it was meant to perform a backup and send it to my hosting account... Does anyone know what the problem is??? cheers |
|
||||
|
If you don't set up the script to send the output from the PHP script to null, it will likely email it to you (you probably set up an email address when setting up the cron job, right?)
If it didn't actually do anything, check the directory where it is running for an error_log file and see what it says is wrong. |
|
|||
|
Quote:
X-Powered-By: PHP/5.2.9 Content-type: text/html <br /> <b>Warning</b>: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to http://www.domain.com.au:2082 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in <b>/home/username/public_html/sender.php</b> on line <b>39</b><br /> Failed to open socket connection Bailing out! |
|
|||
|
Has anyone managed to get the Justin Cook backup automation script to actually work? who could advise me on what on earth is going on.
A summary of the issues I am facing are:
X-Powered-By: PHP/5.2.9 Content-type: text/html |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| auto backup and delete old backup | peakman | cPanel Newbies | 1 | 01-08-2007 03:53 PM |
| Help! I need script for Auto Backup for SQL | jeepj27 | cPanel and WHM Discussions | 1 | 09-12-2006 07:45 PM |
| WHM Auto script... | *asterisk* | cPanel and WHM Discussions | 6 | 09-23-2005 12:31 PM |
| WHM Auto Script | MeGaMASTER | cPanel and WHM Discussions | 11 | 09-01-2005 03:10 PM |
| Auto Restart Script | Netsender | cPanel and WHM Discussions | 1 | 07-07-2004 01:18 PM |