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!

root Crons

Discussion in 'General Discussion' started by stocosoft, Feb 8, 2004.

  1. stocosoft

    stocosoft Active Member

    Joined:
    Nov 14, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    156
    I think I blew out my root crontab - need to rebuild it so that all the cPanel and WHM scripts will run. Can someone tell me what jobs to schedule in root cron?

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    This is what's in mine.

    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    55 2 * * * /scripts/upcp
    */7 * * * * /var/log/exim_chmod.pl > /dev/null
    0 6 * * * /scripts/cleanmsglog > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim callout > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim retry > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim reject > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim wait-remote_smtp > /dev/null 2<&1
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1

    You would change the upcp to whatever time is best for you.
     
    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