Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Sheldon

    Sheldon Well-Known Member

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

    Sheldon
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PWSowner

    PWSowner Well-Known Member

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

    mousepotatoe Active Member

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

    Thats perfect !

    Thank you for your help

    Steve
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice