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 Cron Recovery

Discussion in 'General Discussion' started by IberHosting, May 14, 2007.

  1. IberHosting

    IberHosting Well-Known Member

    Joined:
    Jun 1, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Today accidentally while installing a new cron, I've typed fast crontab -r instead of crontab -e. I dont know who was the idiot who had the nice idea to have the -r and -e for delete edit, one key near the other.

    I would like to know if anybody can give me a copy of a fresh cPanel crontab for root user, so I dont need to make it myself again by finding in logs, etc... I dont have backups yet since is a new server, cPanel latest stable.

    Thank you
     
  2. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    here u r mate, hope that helps >>> crontab

    BTW : wouldnt a
    /scripts/upcp --force
    do the trick as well ?
     
    #2 gorilla, May 14, 2007
    Last edited: May 14, 2007
  3. IberHosting

    IberHosting Well-Known Member

    Joined:
    Jun 1, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Hello gorilla, Im not sure if a --force will do, but I dont like force installs.

    The thing im looking for is the content of the root crontab. Thanks anyway! ;)
     
  4. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York

    You're supposed to put a smiley face after that one. :D
     
  5. kdarray

    kdarray Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Washington
    here

    0 5 * * * /root/sa_rules.sh > /dev/null 2>&1
    0 0 * * * perl /usr/mscpanel/mscpanel.pl > /dev/null 2>&1

    */15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    26 21 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
    0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
    0 1 * * * /scripts/cpbackup
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1

    i have disabled the daily update for upcp.
     
  6. IberHosting

    IberHosting Well-Known Member

    Joined:
    Jun 1, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page