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.

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:
    6
    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
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    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.
     
Loading...

Share This Page