Prevent cron job from running every minute?

DennisMidjord

Well-Known Member
Sep 27, 2016
264
35
28
Denmark
cPanel Access Level
Root Administrator
Hi,

Is there any way to prevent users to configure cron jobs that should run every minute?
We have a fair share of clients who configure almost every cron job to be run every minute, and some of these are very resource-demanding (and some of them doing many mysql queries).

This results in a high load.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,263
313
Houston
Hello @DennisMidjord

There is no native way through cPanel to do this, you can disable the crontab for users though by going to WHM>>Packages>>Feature Manager>>Edit Feature List and deselecting Cron Jobs for users using the specific featurelist.

Thank you,
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,263
313
Houston
Hi @DennisMidjord

Yes, and if you'd like to see that available as a feature I would encourage you to vote for it! I'm sorry I didn't point that out to begin with.


Thank you,