• Online Demo
  • 30-day Free Trial

Go Back   Blesta Forums > Community > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2012, 03:36 AM
Marco Marco is offline
Junior Member
 
Join Date: Aug 2011
Location: Portland, OR
Posts: 9
Exclamation Help with GoDaddy Hosting -> Cron Jobs

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
Reply With Quote
  #2  
Old 03-29-2012, 03:42 PM
Paul's Avatar
Paul Paul is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Wherever I go, there I am.
Posts: 1,466
Send a message via AIM to Paul Send a message via MSN to Paul
Default

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.
__________________
Paul
Misc Stuff Guy

Blesta
Professional Billing
www.blesta.com
Reply With Quote
  #3  
Old 03-29-2012, 03:55 PM
Marco Marco is offline
Junior Member
 
Join Date: Aug 2011
Location: Portland, OR
Posts: 9
Default

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
Reply With Quote
  #4  
Old 03-29-2012, 06:24 PM
Paul's Avatar
Paul Paul is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Wherever I go, there I am.
Posts: 1,466
Send a message via AIM to Paul Send a message via MSN to Paul
Default

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
__________________
Paul
Misc Stuff Guy

Blesta
Professional Billing
www.blesta.com
Reply With Quote
  #5  
Old 03-29-2012, 07:05 PM
Marco Marco is offline
Junior Member
 
Join Date: Aug 2011
Location: Portland, OR
Posts: 9
Default

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
Reply With Quote
  #6  
Old 03-30-2012, 03:45 PM
Paul's Avatar
Paul Paul is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Wherever I go, there I am.
Posts: 1,466
Send a message via AIM to Paul Send a message via MSN to Paul
Default

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.
__________________
Paul
Misc Stuff Guy

Blesta
Professional Billing
www.blesta.com
Reply With Quote
  #7  
Old 03-31-2012, 01:02 AM
Marco Marco is offline
Junior Member
 
Join Date: Aug 2011
Location: Portland, OR
Posts: 9
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT. The time now is 03:42 PM.