Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,342

    Default So i would like to disable cron from users and make them have to send the cron to us.

    Too many bad crons are happening with word press type scripts everywhere.

    Any ideas how to remove all the cpanel based user cron jobs and how to disable users from being able to add them. And a way for us to still add them manually as the server admin?

    I know it will be allot of work but it's better then our server getting wrecked.

  2. #2
    Member
    Join Date
    Mar 2002
    Posts
    175

    Default

    Quote Originally Posted by DWHS.net View Post
    Too many bad crons are happening with word press type scripts everywhere.

    Any ideas how to remove all the cpanel based user cron jobs and how to disable users from being able to add them. And a way for us to still add them manually as the server admin?

    I know it will be allot of work but it's better then our server getting wrecked.
    Its not hard, just put the word ALL in /etc/cron.deny and create a file called cron.allow and put users you want to be allowed to run cron jobs. Or just create a cron.allow file and all others will automatically be denied.

    Then maybe remove or edit the cpanel theme page for cron jobs telling people it wont work until they contact you to have cron activated.
    Last edited by jsnape; 12-08-2006 at 04:50 PM.

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Quote Originally Posted by DWHS.net View Post
    Too many bad crons are happening with word press type scripts everywhere.

    Any ideas how to remove all the cpanel based user cron jobs and how to disable users from being able to add them. And a way for us to still add them manually as the server admin?

    I know it will be allot of work but it's better then our server getting wrecked.

    In whm > packages > feature manager, edit the "disabled" features set and uncheck
    "cron tab"

    That will be removed from everyones cpanel. While you are in there, you may want
    to do the same for their ssh.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,342

    Default

    perfect, thanks very much

Similar Threads & Tags
Similar threads

  1. How to disable the cron to users?
    By konrath in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-10-2009, 08:10 AM
  2. How to make an appointment a task in cron every 3 days?
    By romzinho in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-15-2007, 06:42 PM
  3. HELP! How to make a cron job in Cpanel?
    By EarthIndex in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-07-2004, 12:30 PM
  4. cPanel cron jobs or cron.daily , cron.hourly , etc.?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-01-2004, 08:16 PM
  5. how to make a cron job
    By rebelo in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-11-2003, 04:59 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube