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 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:
    1
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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