|
|
 |
|
 |
|
Administrator
Join Date: Dec 2004
Posts: 13,687
Credits:
105,547
Location: Northfield, NH
|
|
08-30-2007, 01:42 PM
|
|
New Rule about crons
Please, if you are going to use the cron function in your cPanel do not set it to run every minute. I really can not think of any good reason that you would need a cron to run EVERY minute. Also, please do not set them if you're not going to use them!
If for some reason you need your cron to run every minute please contact me otherwise I will be suspending people that are doing this. Can you imagine what would happen if 1,000 people all wanted to run a cron every minute? Yeah.. not good
-Corey
|
|
|
|
x10 Spammer
Join Date: Sep 2005
Posts: 2,760
Credits:
18,766
Location: Alabama, USA
|
|
08-30-2007, 10:49 PM
|
|
Re: New Rule about crons
Haha, ya I can't see why anyone would need to run a cron tab every minute either. That's good that you're trying to keep the resource use down though. :-D
__________________
-Chris Z
I'm no longer an Account Manager, so especially don't contact me with any issues.
|
|
|
|
x10 Lieutenant
Join Date: Oct 2006
Posts: 292
Credits:
1,780
|
|
09-01-2007, 12:01 AM
|
|
Re: New Rule about crons
I myself can't see why you'd REALLY need a cron to run at all, it's just a web hosting service.
Well, maybe you can use it for automated backups or something.
__________________
This signature intentionally left blank.
|
|
|
|
x10 Sophmore
Join Date: Sep 2006
Posts: 177
Credits:
1,625
|
|
09-01-2007, 10:20 AM
|
|
Re: New Rule about crons
Quote:
I myself can't see why you'd REALLY need a cron to run at all, it's just a web hosting service.
Well, maybe you can use it for automated backups or something.
|
Well, there are many legitimate uses for cron like if say one is using rss to get news - to keep the database up to date, or one has a search function & many other functions e.g. on a community or similar site (at least for Drupal CMS). These however can be set to be managed by a cron Drupal module. My cron runs once an hour.
As Corey says the problem is not using cron, but making it run too often.
|
|
|
|
Administrator / I'm so hood yeh!
Join Date: Jun 2006
Posts: 7,773
Credits:
6,793
Location: The ghetto aka Tbury, Massachusetts
|
|
09-01-2007, 10:29 AM
|
|
Re: New Rule about crons
Another good reason for a cron is on the status site, there is a cron every 15 minutes that updates the cached server status.
__________________
Thanks,
Brandon, x10Hosting Admin
|
|
|
|
x10Hosting Member
Join Date: Sep 2007
Posts: 33
Credits:
673
|
|
10-05-2007, 06:54 PM
|
|
Re: New Rule about crons
Quote:
Originally Posted by lionheart8
Well, there are many legitimate uses for cron like if say one is using rss to get news - to keep the database up to date, or one has a search function & many other functions e.g. on a community or similar site (at least for Drupal CMS). These however can be set to be managed by a cron Drupal module. My cron runs once an hour.
As Corey says the problem is not using cron, but making it run too often.
|
thats true..there is no need to run every mint..is it??  
|
|
|
|
x10Hosting Member
Join Date: Sep 2007
Posts: 49
Credits:
1,193
Location: Meadowbrook, California
|
|
10-05-2007, 08:04 PM
|
|
Re: New Rule about crons
I have a question about this. I'm hosting a very small game, and run a cron job to update the stats for the game. What would be an acceptable number of minutes to run the cron job? Right now I run it every 5 minutes (I was testing to try to fix a problem). This often is better for the game, but every 10 or 15 would work, too. Is that acceptable? Don't want to use too many resources. :D
Thanks!
|
|
|
|
Administrator
Join Date: Dec 2004
Posts: 13,687
Credits:
105,547
Location: Northfield, NH
|
|
10-05-2007, 08:07 PM
|
|
Re: New Rule about crons
Every 5 minutes is fine.
|
|
|
|
x10Hosting Member
Join Date: Sep 2007
Posts: 49
Credits:
1,193
Location: Meadowbrook, California
|
|
10-05-2007, 08:09 PM
|
|
Re: New Rule about crons
Thank you :D
|
|
|
|
VIP User
Join Date: Aug 2007
Posts: 1,681
Credits:
33,465
Location: Chennai, India
|
|
10-05-2007, 11:29 PM
|
Re: New Rule about crons
I'm running Drupal 5.2 in my site. I need to run a cron every 12 hours. But, the notification just states Fatal Error, Memory exhausted. Why is it so? Can you please raise the memory limit of 8 MB to something higher..
Thanks in advance..
__________________
R. Kaja Mohideen
Start Your Own Blog... Start Making Money...
http://www.MyiStop.com/
If you find my post useful, Click on to give me some reputation, or Donate few credits to me.
|
|
|
|
 |
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:07 AM.
Powered by vBulletin® Version 3.7.3 Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
Free Myspace Layouts | Myspace Layouts | Mobile Phones | Car Finance | Uggs
| |