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 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:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. gorilla

    gorilla Well-Known Member

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

    BTW : wouldnt a
    /scripts/upcp --force
    do the trick as well ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    166
    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! ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,131
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    New York

    You're supposed to put a smiley face after that one. :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. kdarray

    kdarray Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    156
    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:
    166
    Thanks kdarray ;)
     
    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