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 vs Date

Discussion in 'General Discussion' started by oozetime, Sep 6, 2014.

  1. oozetime

    oozetime Member

    Joined:
    Aug 22, 2014
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    My cron is scheduled for at 6:00 am, however it is running at 3:00 am

    My timezone is Recife and my date was 3:00 a.m., when I received the email.


    root@whm01 [~]# date
    Sat Sep 6 03:07:31 BRT 2014

    Cron cPanel:
    0 6 * * * php -q /home/oozetime/public_html/cliente/00z3TIME/cron.php
     
  2. avonni

    avonni Member

    Joined:
    Sep 6, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Is a dedicated server or a VPS?
    I had similar issue with a VPS because main node wrong timezone.
     
  3. oozetime

    oozetime Member

    Joined:
    Aug 22, 2014
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Is a Cloud Server
     
  4. mageshm

    mageshm Well-Known Member

    Joined:
    Apr 17, 2014
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Chennai, INDIA
    cPanel Access Level:
    DataCenter Provider
    @ oozetime,

    Cloud also same as VPS, the issue could be your main node timezone.

    Consult with your hosting provider.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,767
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, you will need to consult with your VPS hosting provider to see if they can modify the system time on the physical server your VPS is created on.

    Thank you.
     
  6. oozetime

    oozetime Member

    Joined:
    Aug 22, 2014
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am the owner of the dedicated that provides VPS for me. The date of this dedicated and correct with the correct timezone, as well as VPS.

    After a reboot things are back to normal.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,767
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page