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.

crashing twice a day at same times - cron? something else?

Discussion in 'General Discussion' started by hostricity, Jan 26, 2006.

  1. hostricity

    hostricity Active Member

    Joined:
    Jun 22, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    I have a cpanel server that is crashing twice per day at the same time.

    Nothing odd in the logs.

    Does this ring any bells for anyone?

    QUESTION:

    How do I look at the crons being run by all users? I eally don't want to go searching through every account for crontabs and look at them individually.
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    You can view the cronjob set by all users in /var/spool/cron. Seperate files are created with there own username for each user who sets the cronjob for his account. There is no file or command through which you can view cronjobs set by all users on the server at a time.
     
  3. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    What times? When you say crash, do you mean overloaded, or that is completely stops responding?

    To see all users crontabs:
    more /var/spool/cron/* > allcrons

    then read the file allcrons
     
Loading...

Share This Page