x10Hosting Forums

Corporate Free Hosting for the Masses.



Register

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
Administrator

Corey's Avatar

Join Date: Dec 2004
Posts: 13,687
Credits: 105,547
Corey has a reputation beyond repute
Location: Northfield, NH

Send a message via ICQ to Corey
 
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
Corey is online nowReport Post
x10 Spammer

Chris Z's Avatar

Join Date: Sep 2005
Posts: 2,760
Credits: 18,766
Chris Z is on a distinguished road
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.
Chris Z is offlineReport Post
x10 Lieutenant

nol888's Avatar

Join Date: Oct 2006
Posts: 292
Credits: 1,780
nol888 is on a distinguished road
 
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.
nol888 is offlineReport Post
x10 Sophmore

Join Date: Sep 2006
Posts: 177
Credits: 1,625
lionheart8 is on a distinguished road
 
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.
lionheart8 is offlineReport Post
Administrator / I'm so hood yeh!

Brandon's Avatar

Join Date: Jun 2006
Posts: 7,773
Credits: 6,793
Brandon is a glorious beacon of light
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
Brandon is offlineReport Post
x10Hosting Member

toofani's Avatar

Join Date: Sep 2007
Posts: 33
Credits: 673
toofani is on a distinguished road
 
10-05-2007, 06:54 PM
Re: New Rule about crons

Quote:
Originally Posted by lionheart8 View Post
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??
toofani is offlineReport Post
x10Hosting Member

zmama's Avatar

Join Date: Sep 2007
Posts: 49
Credits: 1,193
zmama is on a distinguished road
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!
zmama is offlineReport Post
Administrator

Corey's Avatar

Join Date: Dec 2004
Posts: 13,687
Credits: 105,547
Corey has a reputation beyond repute
Location: Northfield, NH

Send a message via ICQ to Corey
 
10-05-2007, 08:07 PM
Re: New Rule about crons

Every 5 minutes is fine.
Corey is online nowReport Post
x10Hosting Member

zmama's Avatar

Join Date: Sep 2007
Posts: 49
Credits: 1,193
zmama is on a distinguished road
Location: Meadowbrook, California

 
10-05-2007, 08:09 PM
Re: New Rule about crons

Thank you :D
zmama is offlineReport Post
VIP User

kajasweb's Avatar

Join Date: Aug 2007
Posts: 1,681
Credits: 33,465
kajasweb has a spectacular aura about
Location: Chennai, India

Send a message via ICQ to kajasweb Send a message via AIM to kajasweb Send a message via MSN to kajasweb Send a message via Yahoo to kajasweb Send a message via Skype™ to kajasweb
 
10-05-2007, 11:29 PM
Exclamation 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.

kajasweb is online nowReport Post
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
x10 Rule Change (No more chances) Corey News and Announcements 47 06-29-2006 12:05 PM
.htaccess rewrite rule theblazingangel Scripts & 3rd Party Apps 2 03-03-2006 12:34 PM


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
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Free Myspace Layouts | Myspace Layouts | Mobile Phones | Car Finance | Uggs