Jump to content

Cron error Timezone


Vs Nu

Recommended Posts

Cron PHP timezone

The timezone used by the WHMCS cron script, 'UTC', has a 5.5 hour difference to the timezone used by the WHMCS UI. To learn more about the importance of these PHP environment settings, see the cron documentation.

But when i check the Timezone from user level SSH it was showing as 

php -ini | grep "date.timezone"
date.timezone => Asia/Kolkata => Asia/Kolkata

I had even created php.ini or .user.ini file and mention the timezone

 

How to solve that warning in Health status

Link to comment
Share on other sites

On 12/4/2020 at 11:43 AM, Vs Nu said:
Cron PHP timezone

The timezone used by the WHMCS cron script, 'UTC', has a 5.5 hour difference to the timezone used by the WHMCS UI. To learn more about the importance of these PHP environment settings, see the cron documentation.

But when i check the Timezone from user level SSH it was showing as 

php -ini | grep "date.timezone"
date.timezone => Asia/Kolkata => Asia/Kolkata

I had even created php.ini or .user.ini file and mention the timezone

 

How to solve that warning in Health status

added in configuration.php

date_default_timezone_set('Asia/Kolkata');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated