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!

Disable cronjob feature for users in cpanel and be able to create crons manually for each users

Discussion in 'General Discussion' started by VagrantRonnie, Dec 2, 2013.

  1. VagrantRonnie

    VagrantRonnie Member

    Joined:
    Jun 3, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello
    I have red the very similar and useful article here in the following link :
    http://forums.cpanel.net/f5/so-i-would-like-disable-cron-users-make-them-have-send-cron-us-61455.html


    In the following link, it has been mentioned that we can disable cronjob feature for users and create a cron.allow file and add any user which we want to be allowed to add cronjob.
    But here is the problem that if we allow a user to add cronjob, we cannot be aware of their executable crons because they will be allowed to add any kind of crons.
    Is there way to disable the whole cronjob feature and we can be able to add cronjob for user manually based on users requests, so we can decide which crons are safe to be add and which are not.

    Any response would be appreciated.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You can disable the "Cron Job" option in the feature list associated with the packages assigned to your accounts. The feature lists are modified via:

    "WHM Home » Packages » Feature Manager"

    This will prevent users from adding cron jobs. You can then add them in manually by modifying their cron files in the /var/spool/cron directory.

    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