<?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[&quot;Default&quot; way to change timezone?]]></title><description><![CDATA[<p dir="auto">Hey, guys. Happy holidays!</p>
<p dir="auto">So I installed a basic LAMP app in order to run a few small jobs and services I have for personal use.</p>
<p dir="auto">I use the scheduler for the jobs, but my server is not in my timezone, and I understand it's cloudron's policy to have everything outside applications in GMT, which makes sense. But that leads to me having to schedule stuff with GMT in mind, which is not ideal.</p>
<p dir="auto">Is there a way to set timezone for a specific app container, or is that done on an app-by-app basis? I'd like to not have to package and publish a cloudron app just for that, but am failing to see how easily do this.</p>
<p dir="auto">Is there a "default" way of injecting environment variables? Does cloudron's base image support some set of env vars it loads from somewhere?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.cloudron.io/topic/13012/default-way-to-change-timezone</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 07:33:25 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13012.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Dec 2024 15:11:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Thu, 02 Jan 2025 09:42:48 GMT]]></title><description><![CDATA[<p dir="auto">I have fixed this for the new release</p>
]]></description><link>https://forum.cloudron.io/post/99229</link><guid isPermaLink="true">https://forum.cloudron.io/post/99229</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 02 Jan 2025 09:42:48 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Thu, 02 Jan 2025 01:58:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> that would be nice, and it seems to me to be more "natural" to a user, like <a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> mentioned. Thanks for taking a look at this!</p>
]]></description><link>https://forum.cloudron.io/post/99220</link><guid isPermaLink="true">https://forum.cloudron.io/post/99220</guid><dc:creator><![CDATA[malvim]]></dc:creator><pubDate>Thu, 02 Jan 2025 01:58:33 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Wed, 01 Jan 2025 16:19:15 GMT]]></title><description><![CDATA[<p dir="auto">I like the idea of having the cron jobs run in user time zone. It doesn't affect any of our packaging cron jobs since they are all periodic. Can look into changing this.</p>
]]></description><link>https://forum.cloudron.io/post/99204</link><guid isPermaLink="true">https://forum.cloudron.io/post/99204</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 01 Jan 2025 16:19:15 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Tue, 31 Dec 2024 21:59:52 GMT]]></title><description><![CDATA[<p dir="auto">It would be nice to have these times converted to the local time zone. When we set a timezone in Cloudron there shouldn't (in my opinion) be a need to still use UTC-0 when setting crons in Cloudron.</p>
]]></description><link>https://forum.cloudron.io/post/99162</link><guid isPermaLink="true">https://forum.cloudron.io/post/99162</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Tue, 31 Dec 2024 21:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Tue, 31 Dec 2024 11:00:08 GMT]]></title><description><![CDATA[<p dir="auto">You are right, just checked the code at <a href="https://git.cloudron.io/platform/box/-/blob/master/src/scheduler.js?ref_type=heads#L84" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/blob/master/src/scheduler.js?ref_type=heads#L84</a> which sets up the cron job for the app. That does not specify the timezone, so it runs in UTC. In fact even our docs at <a href="https://docs.cloudron.io/apps/#cron" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/#cron</a> mention this aspect correctly.</p>
<p dir="auto">I confused the usage here myself, where the timezone only affects selected cron jobs like autoupdate and backups</p>
]]></description><link>https://forum.cloudron.io/post/99128</link><guid isPermaLink="true">https://forum.cloudron.io/post/99128</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 31 Dec 2024 11:00:08 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Sat, 28 Dec 2024 18:44:15 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your help, <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>, but it seems that's not how it works. At least not on my cloudron.<br />
I'm using a LAMP app, and the "Cron" item on its config page.</p>
<p dir="auto">This is how it looks:</p>
<pre><code># +------------------------ minute (0 - 59)
# |    +------------------- hour (0 - 23)
# |    |    +-------------- day of month (1 - 31)
# |    |    |    +--------- month (1 - 12)
# |    |    |    |    +---- day of week (0 - 6) (Sunday=0 or 7)
# |    |    |    |    |
# *    *    *    *    * command to be executed
# * 7,8 * * 1-5  /app/data/latest/main.sh &gt;&gt; /app/data/app.log
</code></pre>
<p dir="auto">It should fire at 7am and then again at 8am, on weekdays. And it's working, but it's 7 and 8am UTC, not on my timezone. And I've changed cloudron's system timezone to my local time.</p>
]]></description><link>https://forum.cloudron.io/post/98989</link><guid isPermaLink="true">https://forum.cloudron.io/post/98989</guid><dc:creator><![CDATA[malvim]]></dc:creator><pubDate>Sat, 28 Dec 2024 18:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Fri, 27 Dec 2024 16:40:40 GMT]]></title><description><![CDATA[<p dir="auto">In this case you want to set the timezone via the dashboard as mentioned in <a href="https://docs.cloudron.io/settings/#system-time-zone" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/settings/#system-time-zone</a></p>
<p dir="auto">This will not change the system timezone but will take the setting into account when scheduling the jobs</p>
]]></description><link>https://forum.cloudron.io/post/98942</link><guid isPermaLink="true">https://forum.cloudron.io/post/98942</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 27 Dec 2024 16:40:40 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Fri, 27 Dec 2024 15:58:36 GMT]]></title><description><![CDATA[<p dir="auto">Yeah, I understand and that makes sense. Scheduled jobs are the only case in which this is kind of annoying, right? Since the container should still run in UTC, but then we should account for it when scheduling our jobs.</p>
<p dir="auto">Maybe I'll just find another way to schedule the jobs, since a few of them need to be run in a specific time of day (on my TZ). I guess this would be the preferred approach? Because even if I account for the difference in hours and schedule them in UTC time, there's all kinds of specifics like daylight savings and the like that would make it kind of a nightmare...</p>
<p dir="auto">Thanks anyway for the answers</p>
]]></description><link>https://forum.cloudron.io/post/98940</link><guid isPermaLink="true">https://forum.cloudron.io/post/98940</guid><dc:creator><![CDATA[malvim]]></dc:creator><pubDate>Fri, 27 Dec 2024 15:58:36 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Fri, 27 Dec 2024 10:46:07 GMT]]></title><description><![CDATA[<p dir="auto">The host machine and servers generally are best to be run in UTC since they possibly serve users in various timezones. The apps itself, like the Cloudron dashboard and such should then translate from UTC to the local timezone (and locale formats) based on the user setting or browser profiles.</p>
]]></description><link>https://forum.cloudron.io/post/98931</link><guid isPermaLink="true">https://forum.cloudron.io/post/98931</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 27 Dec 2024 10:46:07 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Thu, 26 Dec 2024 18:41:20 GMT]]></title><description><![CDATA[<p dir="auto">Yeah, I looked into that, but that's for the cloudron system itself. Backup and update tasks. Host machine and app containers still use UTC.</p>
]]></description><link>https://forum.cloudron.io/post/98908</link><guid isPermaLink="true">https://forum.cloudron.io/post/98908</guid><dc:creator><![CDATA[malvim]]></dc:creator><pubDate>Thu, 26 Dec 2024 18:41:20 GMT</pubDate></item><item><title><![CDATA[Reply to &quot;Default&quot; way to change timezone? on Thu, 26 Dec 2024 18:37:30 GMT]]></title><description><![CDATA[<p dir="auto">Unless I'm missing something you just change your timezone setting as described here <a href="https://docs.cloudron.io/settings/#system-time-zone" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/settings/#system-time-zone</a> no?</p>
]]></description><link>https://forum.cloudron.io/post/98907</link><guid isPermaLink="true">https://forum.cloudron.io/post/98907</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 26 Dec 2024 18:37:30 GMT</pubDate></item></channel></rss>