Webmaster Forum

Sponsored Reviews   PR6 Link Building Service   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Reply
 
LinkBack Thread Tools Display Modes
Old 05-03-2008, 09:37 PM   #1 (permalink)
Junior Member
 
Jexley's Avatar
 
Join Date: 01-09-07
Posts: 22
iTrader: 0 / 0%
Latest Blog:
None

Jexley is on the right pathJexley is on the right path
Cron and SOAP errors.

Hey all,
I've got two scripts that I've set my Cron jobs to run.

One is: /usr/local/bin/php -q /home/jexanaly/public_html/rc-auto.php
And the other is: /usr/local/bin/php /home/jexanaly/public_html/rc-soap-auto.php

The first one loops through some data and calls a function every time through. In this function is a sleep command (30 seconds) and there's a lot of data, so it takes several hours to run manually. The Cron though, bails after about 2 hours and I get NO notification of such. No error or anything, I just notice it hasn't completed with the data. So, that's my first problem, how to set a script to NOT stop. I've already got set_time_limit(0) in there too.

The second one has similar functionality, but it uses SOAP to do the same thing. It runs FINE manually, but the Cron sends me an email with this in it:
Fatal error: Call to undefined method SOAP_Fault::doSearch() in /home/jexanaly/public_html/rc-soap-auto.php on line 34

I'm at a loss with both of these and the my web host has no idea either. Can someone here please help? I would be eternally indebted to you, as my business is really needing these things working so I don't have pissed off clients.

Thanks all, very much appreciated.
__________________
Optimising for Search Engine's is only the first part, you've got to have a site People like too. (jexanalytics.com.au)
Jexley is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-04-2008, 08:58 AM   #2 (permalink)
Contributing Member
 
Join Date: 07-24-06
Posts: 563
iTrader: 1 / 100%
Latest Blog:
None

nasty.web is a jewel in the roughnasty.web is a jewel in the roughnasty.web is a jewel in the roughnasty.web is a jewel in the roughnasty.web is a jewel in the roughnasty.web is a jewel in the roughnasty.web is a jewel in the roughnasty.web is a jewel in the rough
My guess is that you might experience different scripts behavior when running them from different users. When a script is run from crontab it has completely different resource (files, directories, etc.) permissions than when run from the shell.
BTW: Is it a shared hosting or a dedicated server?
nasty.web is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-04-2008, 07:49 PM   #3 (permalink)
Junior Member
 
Jexley's Avatar
 
Join Date: 01-09-07
Posts: 22
iTrader: 0 / 0%
Latest Blog:
None

Jexley is on the right pathJexley is on the right path
It's shared but my own login, so I'm not even sure how to check that kind of thing. Although, you are the second to ask me this, so definitely something I need to look at I'm thinking.

Thanks for that.
__________________
Optimising for Search Engine's is only the first part, you've got to have a site People like too. (jexanalytics.com.au)
Jexley is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SOAP API Key Tariel Zivzivadze Google Forum 0 04-30-2007 05:29 AM
Need cron jobs help gatorgritz Coding Forum 4 09-23-2006 08:18 AM
XML HTTP Request, SOAP, XML, PHP... LazyJim Coding Forum 35 06-06-2006 02:58 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:08 AM.
© Copyright 2008 V7 Inc


Search Engine Optimization by vBSEO 3.1.0 ©2007, Crawlability, Inc.