|
#1
|
|||
|
|||
|
Well no good deed...... I wanted to SSL my Blesta site, so I moved everything to a GoDaddy hosting account with SSL.
After fighting with MySql and whoop'n that azz, I am now stuck with the final battle of getting the cron job to run. So, has anyone got any experience with GoDaddy and Blesta relating to cron?? Thanks to anyone, and also a BIG thanks to Paul Phillips for his continued assistance. Marc |
|
#2
|
||||
|
||||
|
I messed around with it for another client, and was sure I had it right.. but it didn't work.
I think your best bet is to open a ticket with Godaddy and ask them to create the cron job for you. If you give them the cron commands as displayed in Blesta under Settings > API/Cron Settings they may be able to get it working. |
|
#3
|
|||
|
|||
|
Hi Paul,
I have been burning up the support line. So far they have the cron running, at least I'm getting reports back that there isn't a fail. But here is the rub, 1) anything after .php in the string kills their job. So the key doesn't get on the command string, which means it's prob not working. 2) Even when I try to run it manually, it does not seem to work either? This is the one that you issued the trial key for, and I copyied and pasted all the files from a still working program to Godaddy so I can SSL this. I wonder if there is something I need to change since I moved the files that I missed? Your welcome to log into it, just say the word and I will send you the scoop. M |
|
#4
|
||||
|
||||
|
If it's not running when you click the link to run it manually, it's never going to run automatically.
Check the following: 1. Look at the URL in the manual run link, does it have the correct path to your cronjob.php file? 2. Look at your inc/config.php file, do you have the correct paths for ROOTWEBDIR and WEBDIR? ROOTWEBDIR is the full server path to your Blesta installation, ie.. "/home/username/public_html/blesta" and WEBDIR is the relative path, ie.. "/blesta/" or just "/" if it's at the root web, ie www.domain.com/blesta/ vs www.domain.com |
|
#5
|
|||
|
|||
|
Thanks Paul,
I have re-checked and this is the paths I have in the config file: // Web Directory define("WEBDIR", "/invoice/"); define("ROOTWEBDIR", "/home/content/98/9149898/html/invoice/"); the files are all in the "invoice" folder and the site is SSL. Now, I clicked the link and it said that the cron has run, but I see a test invoice I made up hasn't been sent via email. When it ran, all I got was a blank page, not any text telling me what it was doing. You think I should do a fresh install? But still, if the godaddy cron job can't put the key at the end of the URL, it won't run anyway, right? Marc **** I now have the manual cron working fine. It helps to move the "cron" folder over too -duh-. But GoDaddy still can't run the job because of the stuff after .php This might be a deal breaker unless someone has an idea on a work around. Last edited by Marco; 03-30-2012 at 01:19 AM. Reason: UPDATE |
|
#6
|
||||
|
||||
|
Ok, so you are getting output when you run the cron manually now (And not a blank page)?
If Godaddy isn't passing in the key, it will not run, that is correct. Does Godaddy perhaps support any of the other listed cron methods, ie wget, GET, or lynx? The key in these cases is passed along as a get parameter -- just like when you click the manual link. They may be able to get it running this way. |
|
#7
|
|||
|
|||
|
Thanks Paul,
I have been trying to get that to work too, but no luck so far. I will see if I can get anything from them tomorrow, if not, its off to hostmonster.com Thanks! Marc **** Well had to bail on GoDaddy, no one could get it to work. So I went with Hostmonster and after a little bit of configuring, all is well and running great! I paid a little more, but well worth it. This is the best deal right now www.hostmonster.com/promo Last edited by Marco; 04-02-2012 at 03:40 AM. Reason: Solved |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CRON ERROR: Content-type: text/html | mistresszhivago | General Discussion | 16 | 04-09-2012 09:25 PM |
| CGI Error on Cron settings page | voicedata | General Discussion | 1 | 03-25-2010 06:23 PM |
| Reliable, good and reasonal hosting for Blesta? | naro | General Discussion | 3 | 03-11-2008 05:51 AM |