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.

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,601
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    here is the default after a fresh install

     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    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.
     
Loading...

Share This Page