JAMESOMIGHTY Posted January 19, 2010 Posted January 19, 2010 ok i have been trying to sort out my games crons but i cant get it to work, i have a v2 engine and this is one of the codes i'm using /usr/bin/perl /home/poweroft/public_html/cron_minute.php code=mygamecode (i dont actually use the word 'mygamecode') any help would be great thanks Quote
Redex Posted January 19, 2010 Posted January 19, 2010 Ok, right again i'm not a coder so this might be completeley wrong, but meh it's worth the try. Ok once you ran installer.php did you get any cron codes ? If so, go in to cron jobs advance mode and enter them there. After that press submit, or ok or apply ( whatever it is xd ) and you're done. If you got the codes, feel free to pm me so i can help you get your crons running if not, then you're stuck, unless i'm wrong, which i probably am xd. Quote
rulerofzu Posted January 19, 2010 Posted January 19, 2010 /usr/bin/perl /home/poweroft/public_html/cron_minute.php code=mygamecode whats the code=mygamecode for? also /usr/bin/perl?? surely you meant to enter /usr/bin/php Quote
KDawg08 Posted January 19, 2010 Posted January 19, 2010 /usr/bin/php /home/poweroft/public_html/cron_minute.php?code=mygamecode u forgot the question mark between php and code. if that doesn't work try php -f /home/poweroft/public_html/cron_minute.php?code=mygamecode I AM GOING TO MAKE ONE MORE SUGGESTION THOUGH!!! To secure your crons a little better, put them in your poweroft folder (root folder) then use this /usr/bin/php /home/poweroft/cron_minute.php?code=mygamecode or php -f home/poweroft/cron_minute.php?code=mygamecode Quote
JAMESOMIGHTY Posted January 19, 2010 Author Posted January 19, 2010 well i tried all that and none of it works my webhost is hosting24.com so if anyone has done crons on that host before please post the layout of the code here :) Quote
KDawg08 Posted January 19, 2010 Posted January 19, 2010 well i tried all that and none of it works my webhost is hosting24.com so if anyone has done crons on that host before please post the layout of the code here :) If you have free hosting your best bet is to replace crons with SQL's etc. I don't remember exactly how it works but Here are a link for example: [mccode v2.x] [any version] removal of all crons You can just type "REMOVAL OF CRONS" in the searchbar and get a ton of helpful links to replace crons. Quote
JAMESOMIGHTY Posted January 20, 2010 Author Posted January 20, 2010 hell no is it free $8 a month :D Quote
KDawg08 Posted January 20, 2010 Posted January 20, 2010 hell no is it free $8 a month :D Can I make a suggestion? Get hosting with a WELL KNOWN company.... Quote
JAMESOMIGHTY Posted January 20, 2010 Author Posted January 20, 2010 hey thats a realy good host and how is it not well known? its like one of the most used! Quote
KDawg08 Posted January 21, 2010 Posted January 21, 2010 one of the most used? lol i've NEVER heard of it before... I've been doing hosting including running servers for YEARS, I may not be an expert php coder but I know a ton of good hosts and cheap... This is not one of the recommended ones by any means... just get godaddy for like 4 bucks a month u get to run ur game sitll and crons etc. Quote
JAMESOMIGHTY Posted January 21, 2010 Author Posted January 21, 2010 well whatever i like it, anyway CAN ANYONE HELP! anyone who has done crons on hosting24.com pls post the template of the cron here! and ive NEVER heard of godaddy before lol Quote
KDawg08 Posted January 21, 2010 Posted January 21, 2010 well whatever i like it, anyway CAN ANYONE HELP! anyone who has done crons on hosting24.com pls post the template of the cron here! and ive NEVER heard of godaddy before lolYou've never heard of godaddy.com? lol... Sad... Anyways, Here is an easy fix for your crons... Do what i post. 1. open config.php/mysql.php (depending on version) remove your custom code u typed. (Leave the code = blahblahblah) but remve the code from it. 2. Go to your crons and set them up like this wget home/path/to/crons/cron.php (DO NOT ADD THE CODE PART) basically try it without the code if "WGET" doesn't work try "CURL" or try "PHP -F" Quote
wrx Posted January 21, 2010 Posted January 21, 2010 ok i have been trying to sort out my games crons but i cant get it to work, i have a v2 engine and this is one of the codes i'm using /usr/bin/perl /home/poweroft/public_html/cron_minute.php code=mygamecode (i dont actually use the word 'mygamecode') any help would be great thanks Change this example with your domain : curl http://www.yourdomain.com/cron_minute.php?code=mygamecode >/dev/null 2>&1 This used to disable email function of cron >/dev/null 2>&1 Quote
JAMESOMIGHTY Posted January 21, 2010 Author Posted January 21, 2010 thanks wxr!!! they work perfectly now :) thanks for trying to help though kdawg08 dude, plus you can edit that mod you said as much as you want :) Quote
wrx Posted January 22, 2010 Posted January 22, 2010 thanks wxr!!! they work perfectly now :) thanks for trying to help though kdawg08 dude, plus you can edit that mod you said as much as you want :) Cheers glad you got it up and running... Quote
bluegman991 Posted January 23, 2010 Posted January 23, 2010 anybody having trouble with crons and not that familiar with php/mysql? ill sell u database ran cron jobs :thumbup: $10(usd) Quote
KDawg08 Posted January 23, 2010 Posted January 23, 2010 anybody having trouble with crons and not that familiar with php/mysql? ill sell u database ran cron jobs :thumbup: $10(usd) Who's database crons are you selling because they are posted all over the site for free ;) Quote
bluegman991 Posted January 23, 2010 Posted January 23, 2010 lol didnt even know they people had already posted them but made em myself :thumbsup: but after just looking at them. first there scattered all over the forums also mine r a bit lighter and easier customizable than the ones i just looked at and all updates from the crons are seen on page load. that means no refresh to see ur status Quote
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.