<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Use of CRON to schedule reports.]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have used CRON to schedule report and noticed the following behavior :</p>
<p dir="auto">The CRON expression is evaluated towards UTC time, which is OK to me.</p>
<p dir="auto">The report itself is timestamped with UTC time instead of the User time and the timestamps included in the attached Excel file are also UTC ones.</p>
<p dir="auto">So, I wonder :</p>
<ol>
<li>If it is possible to adjust the timestamp to the User location ?</li>
<li>What is the behavior of the CRON expression when DST (daylight saving time) adjustments apply</li>
</ol>
<p dir="auto">Kind regards,</p>
<p dir="auto">Pascal</p>
]]></description><link>https://forum.mango-os.com/topic/3506/use-of-cron-to-schedule-reports</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 14:54:11 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3506.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 May 2018 12:32:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Use of CRON to schedule reports. on Fri, 18 May 2018 16:07:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pascal" aria-label="Profile: pascal">@<bdi>pascal</bdi></a> are you talking about Excel reports?</p>
<p dir="auto">The cron expression should be evaluated against the server timezone AFAIK (it uses the timezone from the OS/JVM by default, you can override this in your env.properties file).<br />
Are you sure you don't have your server timezone set to UTC?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pascal" aria-label="Profile: pascal">@<bdi>pascal</bdi></a> said in <a href="/post/18493">Use of CRON to schedule reports.</a>:</p>
<blockquote>
<p dir="auto">What is the behavior of the CRON expression when DST (daylight saving time) adjustments apply</p>
</blockquote>
<p dir="auto">Good question. Our cron code is based on the Quartz scheduling library v2.1.0, so this should help -<br />
<a href="http://www.quartz-scheduler.org/documentation/faq.html#FAQ-daylightSavings" rel="nofollow ugc">http://www.quartz-scheduler.org/documentation/faq.html#FAQ-daylightSavings</a></p>
<p dir="auto">Of course if its actually evaluating the expressions as UTC time then there is no DST.</p>
]]></description><link>https://forum.mango-os.com/post/18504</link><guid isPermaLink="true">https://forum.mango-os.com/post/18504</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 18 May 2018 16:07:42 GMT</pubDate></item></channel></rss>