ADN Posted August 29, 2008 Share Posted August 29, 2008 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 Quote Link to comment Share on other sites More sharing options...
MrGi Posted October 7, 2008 Share Posted October 7, 2008 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. Quote Link to comment Share on other sites More sharing options...
Dylan Posted October 7, 2008 Share Posted October 7, 2008 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.. Quote Link to comment Share on other sites More sharing options...
pr0xy Posted November 24, 2008 Share Posted November 24, 2008 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? Quote Link to comment Share on other sites More sharing options...
Spudinski Posted November 24, 2008 Share Posted November 24, 2008 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 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.