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!

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:
    156
    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:
    655
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    ps aux |grep cron

    You should only see one result, if you see others kill them and restart the service.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. IRCBrasil

    IRCBrasil Well-Known Member

    Joined:
    Jul 22, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    156
    Yes, I do it always. but it always run twice again.
     
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