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.

cpbackup - server time - cron time

Discussion in 'Data Protection' started by kamm, Mar 7, 2008.

  1. kamm

    kamm Active Member

    Joined:
    Jan 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi Folks,

    From WHM > Server Time I've set my server time to Europe/Madrid (Time zone is known as CET)

    In my cron I've got this line:
    0 1 * * * /scripts/cpbackup

    Every morning just after 7:00 CET I get an email notification - [cpbackup] Backup complete...

    The email starts:
    [cpbackup] Started at Fri Mar 7 07:00:01 2008

    This seems to imply the script isn't starting at 01:00 as per the cron, but at 07:00?

    Any ideas why that should be?

    kamm...
     
  2. kamm

    kamm Active Member

    Joined:
    Jan 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Looks like the solution to this is:

    In shell,
    /etc/init.d/crond restart

    Which brings cron into to sync with server time
     
Loading...

Share This Page