Light Posted June 30, 2010 Share Posted June 30, 2010 [align=center]I have a problem in time! [/align] [align=center]When a person enters the hospital for 15 minutes can not never get out! At that point he should email me on the first day of the game received more than 37 message want me to drive them out of the hospital! I do not know how to deal with corn files Please help me! :love: [/align] Quote Link to comment Share on other sites More sharing options...
iSOS Posted June 30, 2010 Share Posted June 30, 2010 Your name suggests your an "mccodes developer", obviously not lol. Check your crons, mainly "cron_minute.php", it isn't working correctly, OR your host doesn't support crons. Quote Link to comment Share on other sites More sharing options...
Light Posted June 30, 2010 Author Share Posted June 30, 2010 any one can help me?? it's small problem! Quote Link to comment Share on other sites More sharing options...
Analog Posted June 30, 2010 Share Posted June 30, 2010 1. Does you host allow crons? 2. If so, verify that your cron_minute.php file does not contain any error 3. Setup your cron A cron file is just another ordinary file, with the exception that you host will run the file at specified intervals that you have setup using the crontab or shell. Quote Link to comment Share on other sites More sharing options...
Light Posted June 30, 2010 Author Share Posted June 30, 2010 how i can setup my cron ?? Quote Link to comment Share on other sites More sharing options...
Light Posted June 30, 2010 Author Share Posted June 30, 2010 pleas any one ???? Quote Link to comment Share on other sites More sharing options...
Curt Posted June 30, 2010 Share Posted June 30, 2010 lol, if i had a quarter for everytime someone called them corn jobs...lol If your on a FREE host the chances of them allowing you to use Cron Jobs is very slim, but if your on a paid host then simply go into Cpanel, scroll down and you will see a Cron Job area...click that and add the data. command should be somthing like this: curl http://www.YOURGAME.com/cron_fivemins.php?code=YOURCODE then set the time you want it to run. once that is set up you can manually test it by going to the link in your browser. To enable Error reporting add this right below the <?php tag : error_reporting(E_ALL); Good Luck :) **EDIT - Its not good to double post for help, someone will either help you or not and double posting like that shows your impatience...lol Quote Link to comment Share on other sites More sharing options...
Light Posted June 30, 2010 Author Share Posted June 30, 2010 http://www.YOURGAME.com/cron_fivemins.php?code= [YOURCODE] whit is this ??? Quote Link to comment Share on other sites More sharing options...
Light Posted June 30, 2010 Author Share Posted June 30, 2010 where i can add my own code ????? Quote Link to comment Share on other sites More sharing options...
Curt Posted June 30, 2010 Share Posted June 30, 2010 Your code can be found in the config.php file. Quote Link to comment Share on other sites More sharing options...
SupaDene Posted June 30, 2010 Share Posted June 30, 2010 Oh god... You get your cron info.. curl http://www.YOURGAME.com/cron_fivemins.php?code=YOURCODE Upon successfully installing Mccodesv2 (If thats what your using) You then copy the code provided too the cron section of your cPanel, copy and paste each of the 4 codes (correct me if im wrong) and pick the time the cron runs in correspondence to the code. I can take a look for you If your still not sure on how to do it. As others said, If your ona free host chance are you won't get crons. Are you on a paid host or free host? Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted June 30, 2010 Share Posted June 30, 2010 try using the search option next time. hospital stopped working Quote Link to comment Share on other sites More sharing options...
Light Posted June 30, 2010 Author Share Posted June 30, 2010 Famex17 : free host .. but your way don't work !! << im from egypt :) 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.