Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

Have errors in your coding or want something specific added to your game? Check out our paid support here.


This forum is now closed and has moved to a new location! Click here to find out why.

AuthorTopic: MCCodes v2.0 Cron Problems  (Read 1460 times)

Rain

  • Basic Member
  • *
  • Reputation Power: 13
  • Rain has no influence.
  • Offline Offline
  • Posts: 27
  • CEO of Jinks It
    • View Profile
    • WWW
MCCodes v2.0 Cron Problems
« on: September 02, 2009, 09:23:39 AM »
I'm having with my crons, because when I see my character days old or days in the gang it says "0" when I'm in there for a good week or two. I use CPanel, and not sure how to set the crons up on it, but I do have the following .php files  on my PBBG (Its a MCCode v2.0 game)

cron_day.php
cron_fivemins.php
cron_hour.php
cron_minute.php


Please tell em what do to at setting up the link on my CPanel for the crons to work

Appreciate that

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #1 on: September 02, 2009, 10:25:11 AM »
Make sure in the address box it has curl http://www.yourgame.com/cron_min.php?code=somelongasscode
Logged
Project Choosen - 10%
Daniel - Hanson . Com

Rain

  • Basic Member
  • *
  • Reputation Power: 13
  • Rain has no influence.
  • Offline Offline
  • Posts: 27
  • CEO of Jinks It
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #2 on: September 02, 2009, 12:55:44 PM »
Where do I get the "somelongasscode" part?

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #3 on: September 03, 2009, 10:02:47 AM »
in config.php
Logged
Project Choosen - 10%
Daniel - Hanson . Com

Rain

  • Basic Member
  • *
  • Reputation Power: 13
  • Rain has no influence.
  • Offline Offline
  • Posts: 27
  • CEO of Jinks It
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #4 on: September 03, 2009, 01:54:51 PM »
Oh added the code in my cron settings, didn't see a change yet but ill give it some time etc. Also was I suppose to do anything int he setting's for each of the cron links? It looks like this:

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #5 on: September 03, 2009, 02:21:20 PM »
LOl on the command add curl before http (with a space) change somelongasscode to the code you will find in config.php
Logged
Project Choosen - 10%
Daniel - Hanson . Com

Cronus

  • Administrator
  • Senior Member
  • *****
  • Reputation Power: 2901
  • Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!
  • Offline Offline
  • Posts: 550
    • MSN Messenger - preston__08@hotmail.com
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #6 on: September 03, 2009, 04:43:32 PM »
Also, "yourgame.com" obviously needs to be changed to your actual game url
Logged
My msn is preston__08@hotmail.com if anyone is interested, I am online frequently.

Rain

  • Basic Member
  • *
  • Reputation Power: 13
  • Rain has no influence.
  • Offline Offline
  • Posts: 27
  • CEO of Jinks It
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #7 on: September 03, 2009, 06:54:01 PM »
I know that, just an example and what do you mean "Command add curl before http (with a space)"
« Last Edit: September 03, 2009, 07:22:41 PM by Rain »
Logged

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
Re: MCCodes v2.0 Cron Problems
« Reply #8 on: September 06, 2009, 05:02:45 AM »
Where it says http replace with this:
Code: [Select]
curl http
Logged
Project Choosen - 10%
Daniel - Hanson . Com
 


This forum is now closed and has moved to a new location! Click here to find out why.