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 cron jobs

Discussion in 'General Discussion' started by amolmistry, May 9, 2013.

  1. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Is there any way to disable cron jobs which are getting executed from individual website's php scripts?

    since there are few domains on shared server they have set cron for every minute which consuming load on server,

    like May 9 03:30:01 server217 CROND[98436]: (user1) CMD (cd /home/user1/public_html/periodic; /usr/local/cpanel/3rdparty/bin/php -q cron.php)

    I've disabled corntab from cpanel's "Feature Manager" but problem still exist.

    Please suggest,
     
  2. Veeble-Adam

    Veeble-Adam Active Member

    Joined:
    May 7, 2013
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    You may login to the server via SSH and add the username to /etc/cron.deny.

    Also restart the crontab
     
Loading...

Share This Page