Welcome Guest, Not a member yet? Register   Sign In
Cron Fails while getting records
#6

[eluser]louis w[/eluser]
To execute and http request through cron, this is the command I use:

/usr/local/bin/wget -O - http://www.domain.com/do/whatever

Try this and see what happens, wget might be in a different location on your server.

The data set returned by cron should not be any different then making the request directly. If it really is, I would suggest turning on debugging and start writing your sql query and return set to the log for comparison.


Messages In This Thread
Cron Fails while getting records - by El Forum - 08-13-2009, 05:46 AM
Cron Fails while getting records - by El Forum - 08-13-2009, 05:52 AM
Cron Fails while getting records - by El Forum - 08-13-2009, 05:57 AM
Cron Fails while getting records - by El Forum - 08-13-2009, 06:03 AM
Cron Fails while getting records - by El Forum - 08-13-2009, 08:45 AM
Cron Fails while getting records - by El Forum - 08-13-2009, 02:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB