Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: New Rule about crons

  1. #1
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    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

  2. #2
    Chris Z's Avatar
    Chris Z is offline x10 Spammer Chris Z is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Posts
    2,802

    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
    Retired Account Manager


  3. #3
    nol888's Avatar
    nol888 is offline x10 Lieutenant nol888 is an unknown quantity at this point
    Join Date
    Oct 2006
    Posts
    292

    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.

  4. #4
    lionheart8 is offline x10 Sophmore lionheart8 is an unknown quantity at this point
    Join Date
    Sep 2006
    Posts
    177

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

  5. #5
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    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 Long

  6. #6
    toofani's Avatar
    toofani is offline x10Hosting Member toofani is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    33

    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??:dunno::nuts:

  7. #7
    zmama's Avatar
    zmama is offline x10Hosting Member zmama is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Meadowbrook, California
    Posts
    54

    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!

  8. #8
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: New Rule about crons

    Every 5 minutes is fine.

  9. #9
    zmama's Avatar
    zmama is offline x10Hosting Member zmama is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Meadowbrook, California
    Posts
    54

    Re: New Rule about crons

    Thank you :D

  10. #10
    kajasweb's Avatar
    kajasweb is offline Lord Of The Keys kajasweb is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    1,722

    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/
    CuteCom.Net - Low Cost International Internet Telephony (VoIP) Service

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. x10 Rule Change (No more chances)
    By Corey in forum News and Announcements
    Replies: 47
    Last Post: 06-29-2006, 11:05 AM
  2. .htaccess rewrite rule
    By theblazingangel in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 03-03-2006, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers