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.

cron running twice

Discussion in 'General Discussion' started by IRCBrasil, Apr 4, 2007.

  1. IRCBrasil

    IRCBrasil Well-Known Member

    Joined:
    Jul 22, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Some cronjobs (that running */5 */15 etc) are running twice, like this:

    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    */15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1

    look my /var/log/cron:

    But the cronjobs that run once per day, run fine, like this:
    36 0 * * * /scripts/upcp
    0 1 * * * /scripts/cpbackup

    Someone know why?

    My System:
    Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
    Kernel 2.6.9-42.0.10.ELsmp
    Cpanel 10.9.0-R7965
     
  2. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    ps aux |grep cron

    You should only see one result, if you see others kill them and restart the service.
     
  3. IRCBrasil

    IRCBrasil Well-Known Member

    Joined:
    Jul 22, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Yes, I do it always. but it always run twice again.
     
Loading...

Share This Page