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!

limit cron jobs

Discussion in 'General Discussion' started by Gojko, Jul 25, 2018.

Tags:
  1. Gojko

    Gojko Well-Known Member

    Joined:
    Nov 24, 2014
    Messages:
    79
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    Macedonia
    cPanel Access Level:
    Root Administrator
    hello, i saw that some hosts have cron jobs limits
    start packed has cron job option only one per hour minimum
    advanced packed has cron job option half hour minimum
    expert packed has cron job option every minute

    how is this possible to do this?

    also is it possible to remove every minute cron job at all?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Gojko,

    There's no native feature included in cPanel & WHM that allows you to enforce limits on cron jobs. I encourage you to vote and add feedback to the following feature request if you'd like to see this implemented with the product:

    https://features.cpanel.net/topic/cron-limits

    It's likely the web hosting provider has developed a custom plugin or theme that limits the creation of cron jobs in cPanel. If you were to develop something like that on your own, you'd need to make use of a standardized hook that runs prior to the creation of the cron job in cPanel and blocks the action if the cron time is too frequent:

    Guide to Standardized Hooks - Developer Documentation - cPanel Documentation

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