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.

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-wo...-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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page