Jump to content
MakeWebGames

Recommended Posts

Posted

Hello. I just install mccodes v2, but time in jail, hopital, energy bar, will, brave is frozed. I think is from crones issue. I have 4 crones (minutes, 5 minutes, hour and day). What is the right code to put out there for every cron ?

I also receive email from cron minute, cron 5 minutes, hour and day.

All of them looks like this one :

 

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

  • 1 month later...
Posted

Re: Crons issue

Your jail and hospital crons needs to be inserted into the minute cron. Energy will and brave i suggest to be psoted in the 5min cron.

And you email about crons, Send it to one fo your old email adrress, You will get spammed with cron mails (nearly1500) a day. Ill post up the cron scripts when i have time.

Posted

Re: Crons issue

 

Hello. I just install mccodes v2, but time in jail, hopital, energy bar, will, brave is frozed. I think is from crones issue. I have 4 crones (minutes, 5 minutes, hour and day). What is the right code to put out there for every cron ?

I also receive email from cron minute, cron 5 minutes, hour and day.

All of them looks like this one :

 

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

looks like mine..

  • 1 month later...
Posted

Re: Crons issue

 

Your jail and hospital crons needs to be inserted into the minute cron. Energy will and brave i suggest to be psoted in the 5min cron.

And you email about crons, Send it to one fo your old email adrress, You will get spammed with cron mails (nearly1500) a day. Ill post up the cron scripts when i have time.

How can I do that?

Posted

Re: Crons issue

Excessive mails being sent will get you kicked by your hosting provider if you are on a shared hosting package.

You need to configure it in your cPanel(guessing you are on a shared server), under crontabs or jsut crons; you will see a box with your email inside, remove your email adress from that box and save the configuration.

As for the crons not running when it is supposed to, a normal crontab entry should look like this in your cPanel:

*/5 * * * * curl http://path/cron_fivemins.php?code=<code>
* * * * * curl http://<path>/cron_minute.php?code=<code>
0 * * * * curl http://<path>/cron_hour.php?code=<code>
0 0 * * * curl http://<path>/cron_day.php?code=<code>

This is mentioned after a successful installation of MCCodes 2

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