Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Send this topic | Print
Topic: Curl Cron Jobs  (Read 1618 times)
« on: December 06, 2006, 01:04:51 AM »
PSS-Mag Offline
Newbie

View Profile
*
Posts: 5



I hope this is in the right place, if not please move.....

I'm trying to run a cron for a text based game.....

cron is

*/5 * * * * curl http://www.pss-mag.com/game test/cron_fivemins.php? ......... (code removed for security)

I get

result Cron_fivemins.php? does not run in the game

I get this error in my email....

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

100   385    0   385    0     0   1727      0 --:--:-- --:--:-- --:--:--  1727
100   385    0   385    0     0   1725      0 --:--:-- --:--:-- --:--:--     0

curl: (7) couldn't connect to host
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /game was not found on this server.<P>
<P>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
<HR>
<ADDRESS>Apache/1.3.37 Server at www.pss-mag.com Port 80</ADDRESS>
</BODY></HTML>


I have been told by users of this software in another forum I had them looking at the cron to see if it was my cron script....
Responses from those users where

"The problem is not you its your host they dont have a curl libairy installed on there server its basicly means you need to ask your host to install it else move."

Is curl installed here?
If not I belive it's a free download at PHP.net. so if it's not already installed, is this a possiability to get installed please?

Thank you in advance for your time and attention.

Also, thank you guys for your great service and affordable prices, I have enjoyed it for over 2 years now. With mimimal problems and minimal down time, I continue to recomend you guys everytime someone ask.
Report to moderator   Logged

 
« Reply #1 on: December 06, 2006, 09:48:26 AM »
Alex Melen Offline
President / Founder
Administrator
Addict

View Profile WWW
*****
Posts: 2,148



It could be the space between game and test. Try changing the folder name to not have a space.
Report to moderator   Logged

 
Pages: [1]
Send this topic | Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC