CoreBOSBB
Timezone- scheduled reports - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Timezone- scheduled reports (/showthread.php?tid=1511)



Timezone- scheduled reports - rslemer - 05-16-2019

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 ?


RE: Timezone- scheduled reports - joebordes - 05-16-2019

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


RE: Timezone- scheduled reports - rslemer - 05-17-2019

In fact, my problem is, for example

I sched report for 02:00 and system sent in another hour ...


RE: Timezone- scheduled reports - joebordes - 05-18-2019

make sure you are running the scheduled report task more or less at 2:00


RE: Timezone- scheduled reports - rslemer - 05-18-2019

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 ...


RE: Timezone- scheduled reports - joebordes - 05-19-2019

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.


RE: Timezone- scheduled reports - rslemer - 05-19-2019

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


RE: Timezone- scheduled reports - rslemer - 05-27-2019

in our tests, we perceive that the system uses the UTC time zone to schedule the reports

(05-27-2019, 05:35 PM)rslemer Wrote: in our tests, we perceive that the system uses the UTC time zone to schedule the reports

I add this reminder in translation file ( pt_br )


RE: Timezone- scheduled reports - joebordes - 05-29-2019

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.