Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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.

Posted

/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

Posted
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.

Posted

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.

Posted
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
You'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"

Posted
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

Posted
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...
Posted
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 ;)

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...