Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    45

    Default How do I prevent word press cron jobs from running on the server

    The cpu load keeps spiking and I suspect word press crons are the problem.

    My question is-
    How do I prevent word press cron jobs from running on the server
    without me going into everyone's word press installation and removing the cron jobs?

    Any chance this will solve the problem?
    I could put the word ALL in /etc/cron.deny and
    then create /etc/cron.allow
    and put in the users that I want to be able to run cron jobs in cron.allow.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    I removed crond from the default "feature list" in the whm.
    But
    I am thinking that this only effects the ability to add new cron jobs using their cpanel.

    I am also wondering if this removes all the existing cpanel created cron jobs
    (they do not have ssh access - and they can no longer create new cron jobs using cpanel

    Thanks for your help
    Audrey

  2. #2
    BANNED
    Join Date
    Aug 2009
    Posts
    83

    Default Re: How do I prevent word press cron jobs from running on the server

    Hello,

    Removing crond from the feature list in WHM won't remove existing cron jobs that are already in place, it will only prevent users from creating new ones and altering old ones.

    The creation of /etc/cron.allow and /etc/cron.deny will prevent the execution of existing cronjobs for the users who are denied access.

  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    45

    Default Re: How do I prevent word press cron jobs from running on the server

    Hi Matthew

    Thanks for your help.

    Existing cron jobs set up through panel are not a problem.
    Will creating /etc/cron.allow and /etc/cron.deny stop cron jobs set up through wordpress?

    Thanks again
    Audrey

Similar Threads & Tags
Similar threads

  1. Word press install
    By Data 1 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-05-2010, 11:45 PM
  2. I don't think cron jobs are running
    By floppyfringe in forum New User Questions
    Replies: 4
    Last Post: 01-22-2010, 05:23 PM
  3. cron jobs not running
    By Arhineus in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 01-14-2008, 11:38 AM
  4. cant install word press in fantastico
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-17-2005, 01:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube