Memnoch Posted February 2, 2008 Share Posted February 2, 2008 I am setting up a new game site for some friends of mine. I am using MCCodes V2 and have followed their instructions down to the T, but for some reason the crons are not working properly. I have checked the syntax to make sure everything is in place but couldn't find anything. Any thoughts what it could be? John B. Quote Link to comment Share on other sites More sharing options...
topmorpg Posted February 2, 2008 Share Posted February 2, 2008 Re: Crons im not to familiar with mc v2 however what cron are you trying to run. and are you using cpanel to set it up? call the file manually in your browser. post if there is an y error and the markup in the file. I can debug it for you and the cron setup in cpanel should look a bit like this php -f /home/user/public_html/path-to-file or similar depending on your structure and server specs. let me know and I can try to help you a bit. TJ Quote Link to comment Share on other sites More sharing options...
Floydian Posted February 3, 2008 Share Posted February 3, 2008 Re: Crons what I've done is use curl to run crons curl http://your_doman.com/cronfile.php?code ... flajdlfjad Quote Link to comment Share on other sites More sharing options...
Memnoch Posted February 3, 2008 Author Share Posted February 3, 2008 Re: Crons Thanks all for the ideas. I found out what it was though. The webhost who I am using doesn't automatically support 'curl' so I had to make them turn it on so to speak. John B. Quote Link to comment Share on other sites More sharing options...
k4rm4 Posted February 18, 2008 Share Posted February 18, 2008 Re: Crons im using webbasedcron.com to run my V2 crons however they arent working correctly, does the code=jshdjhsdjs, have an extreme difference with running crons, or can that be blank? Quote Link to comment Share on other sites More sharing options...
Floydian Posted February 18, 2008 Share Posted February 18, 2008 Re: Crons code=adadfweqwefwf is something that is "passed" to the script The script prolly checks the $_GET['code'] to see if it matches a predetermined code (this predetermined value would be set in the script itself) and is used to determine if the script should run or not. passing a code in such a manner is used to prevent a player in your game from easily being able to run a cron themselves. so, make that code is matching up properly or you crons will most like work, but nothing will happen as the script will "die" if the code isn't matched properly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.