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.

Crontab grows exponentially

Discussion in 'General Discussion' started by bert, Sep 18, 2002.

  1. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Every time cpanel runs the /scripts/upcp script at night, it adds these lines to the crontab:

    # DO NOT EDIT THIS FILE - edit the master and reinstall.
    # (/scripts/.crontab installed on Tue Sep 17 09:07:14 2002)
    # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)


    It grows every day, with every single update to the point of creating a massive file. This behavior has been the same for months now if not years, but I guess no one cares about this at all?

    Can anyone do a crontab -e and tell me how many entries like the one above you have in your cron?

    Thanks :)
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    somewhere between 150 and 385,235,203 lines on any machine I've seen recently.

    Lovely party, pity I wasn't invited.

    Check Bugzilla?
     
  3. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    lol


    No wonder why I hate the auto updates :p
     
  4. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Hum, perhaps if we recompiled crontab.c from source we could get rid of those lines...

    :p
     
  5. Brad

    Brad Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    231
    Likes Received:
    0
    Trophy Points:
    16
  6. bdraco

    bdraco Guest

    This will fix itself after TWO cpanel updates
     
  7. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Great! Thanks Nick. This has gone on for about 4 to 6 months now, it will be great to get rid of those lines :)
     
Loading...

Share This Page