View Single Post
  #1 (permalink)  
Old 2007-10-11, 06:07 AM
Sixu Sixu is offline
Junior Member
 
Join Date: Oct 2007
Posts: 1
Sixu is on a distinguished road
Default Cron Job isn't doing anything (MMORPG)

I'm really confused about this particular problem i'm having, this particular syntax:

0,30 * * * * /usr/bin/lynx -dump http://localhost/cwars/hourly.php?server_passwd=mypassword

used to work not so long ago, either my host has changed something recently to my account or else i've done something.

basically there are two php files i want cron to hit up, once an hour and the other once a day.

I've tried all of the following variations:

/usr/bin/lynx -dump http://localhost/cwars/hourly.php?server_passwd=mypassword

/usr/local/bin/lynx --dump http://www.12colonies.net/cwars/hourly.php

root /usr/local/bin/lynx - -dump /home/myusername/public_html/cwars/hourly.php?server_passwd=mypassword

/usr/bin/curl /home/myusername/www/cwars/hourly.php?server_passwd=mypassword

/usr/bin/php -q /home/myusername/www/cwars/hourly.php?server_passwd=mypassword

/usr/bin/php -q /home/myusername/www/cwars/hourly.php?server_passwd=mypassword

/usr/bin/lynx -dump /home/myusername/public_html/cwars/hourly.php?server_passwd=mypassword

/home/myusername/www/cwars/hourly.php

wget -qO - http://localhost/cwars/hourly.php?server_passwd=mypassword

everyone of these have been set to: */10 or 5,35. I do not get an email from any of them and by default my email address is on the crontab to forward me the data.

manually typing in the address to the php files does work to update the game, so i'm completely at a loss what to do next. I have contacted my host about lynx and to see if the interpreter directory has been moved, in the meantime if anyone has any other suggestions? I'm new to this, as you can imagine.

Last edited by Sixu; 2007-10-11 at 02:26 PM.
Reply With Quote