The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to schedule cronjobs to run consecutively

Discussion in 'General Discussion' started by mousepotatoe, Nov 17, 2004.

  1. mousepotatoe

    mousepotatoe Active Member

    Joined:
    Dec 17, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    I am running multiple websites that process cronjobs every 30 minutes.
    With them all executing at the same time, my normal server load of 0.27 spikes to 8.0+

    Does anyone know how I can break these cronjobs up to run consecutively, or know of a software that will schedule cronjobs to run at 2 or 3 minute increments?

    Any help would be appreciated
     
  2. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    manually change them for your users!

    Sheldon
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    If they all have the minute setting at */30, change them to
    0,30
    2,32
    4,34
    and so on.
     
  4. mousepotatoe

    mousepotatoe Active Member

    Joined:
    Dec 17, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Excellent!

    Thats perfect !

    Thank you for your help

    Steve
     
Loading...

Share This Page