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.

Cronjob ... System Time ..... Help

Discussion in 'General Discussion' started by warrence, Mar 11, 2006.

  1. warrence

    warrence Active Member

    Joined:
    May 8, 2005
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Good day everyone!

    I've set my server time in WHM and also i check the system time with hwclock command it shows the right time that i want. The cronjob for user root is performing according to my time that i set in cronjob without any problem but however other user i wonder why the cronjob perform 8 hours different than the time i set.

    I set 0 8 * * *, i check in the cron log it run at 1600.

    Anybody experience this problem before? i think cronjob are not following the system time that i just set, or i need to restart any service to get the cronjob under user account to be running at system?

    Thanks in advance!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    crond notoriously doesn't like large changes in the system time. To correct it all you usually have to do is restart cron:

    service crond restart
     
Loading...

Share This Page