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!

All cron jobs removed

Discussion in 'General Discussion' started by scottyadam, Feb 5, 2017.

Tags:
  1. scottyadam

    scottyadam Member

    Joined:
    Oct 29, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    So I just migrated all the cpanel accounts from one server to another and there was one account with a cronjob that was pointing to somewhere that didn't exist, so I went into that user's control panel and deleted it.

    I went into list the root's cron jobs and no nothing exists.

    I know about the crontab -r which I always do crontab -l to avoid this issue.

    This is a brand new install of whm and cpanel on a dedicated server from Godaddy. Is there any way other than going into /var/log/cron to get these back? Is there a default cron list that anyone can help me get this back? I'm super puzzled why deleting one non existent cron wiped the whole thing!

    I'm tried searching for a default list (as I think there were 8or 9 in there)

    Anyone with any ideas?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,664
    Likes Received:
    69
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    here is the default after a fresh install

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,623
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you sure the root cron jobs were deleted? Do they not exist in the /var/spool/cron/root file?

    Thank 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