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!

How to disable the cron to users?

Discussion in 'General Discussion' started by konrath, Sep 9, 2009.

  1. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brasil
    Hello

    How to disable the cron only to users

    I want keep enable icon in the cpanel but disable the cron to users.

    Thank you
    Konrath
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    If you have an SSH acces to the server then you can disalbe the cron for the user:

    To disable the cron for all the users of your server then you just need to put the word All in etc/cron.deny.

    If you would like to disable the cron for the particular user, then you will need to create a file called cron.allow and put the username you want to be allowed to run cron jobs.

    Alternative to this, you can just create cron.allow file and all the other users will automatically get denied to run the cron jobs.
     
    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