Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
How I set correctly a timezone for my installation
My question is a time I setting in scheduled reported not is correctly for my timezone
Example
Follow Up Atrasado - 2019-05-15 04:05:05 (UTC)
I think is necessary change UTC for America Sao Paulo
I can do that in config.inc.php ?
Ranieri
eCRM Web
Posts: 3,564
Threads: 36
Joined: Apr 2014
Reputation:
49
if you have already created tasks you cannot modify the value in the config.inc.php file
If you need the scheduled report at another time you will have to look at the code that sends it out to see how the value is caculated
Joe
TSolucio
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
In fact, my problem is, for example
I sched report for 02:00 and system sent in another hour ...
Ranieri
eCRM Web
Posts: 3,564
Threads: 36
Joined: Apr 2014
Reputation:
49
make sure you are running the scheduled report task more or less at 2:00
Joe
TSolucio
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
my cronn task executes a vtigercon every 15 minutes
but report in sent more than a two hours late
if I execute the same report manually, your execution is less 5 minutes ...
not a big problem, but i wish know, is possible, sent a report in sched hours, because a user routine need this ...
Ranieri
eCRM Web
Posts: 3,564
Threads: 36
Joined: Apr 2014
Reputation:
49
the frequency with which you execute the scheduled report also must be taken into consideration.
Go to settings > scheduled tasks.
Let's suppose that you have the scheduled report configured to run every two hours and it runs ar 1:50, the next time the cron executes, at 2:05, the schedule report will still have to wait about two hours to be able to launch and send the pending report.
Joe
TSolucio
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
05-19-2019, 01:38 PM
(This post was last modified: 05-19-2019, 01:42 PM by rslemer.)
Yes, but is setting for every 15 minutes, too
There any relation with the server timezone? Because my server is setting for America/Sao_Paulo and in coreBOS config is UTC
I setting my server in my timezone, because tasks in calendar uses a server time when user editing a appointments
Ranieri
eCRM Web
Posts: 3,564
Threads: 36
Joined: Apr 2014
Reputation:
49
I had a look at the code and understand that the setting in $default_timezone will be used. Normally this will be UTC but not always.
Joe
TSolucio