R
Railway

βœ‹ο½œhelp

cron job timezone

Mmarkmelnic8/31/2023
Greetings! I want to host a script which runs at a certain time relative to my time zone (GMT+3). When scheduling I realized I should offset the schedule to adapt for railway servers location. So my question here is, what would the offset be for me. I saw in the help section that the time zone should be US-West, but when scheduling the preview (ex. will run in 5 hours) is different from what I expected, so I guess I'm wrong somewhere. Thanks in advance!

P.S. I'm rather new to the community, so excuse my lack of familiarity with the project, yet )
Mmarkmelnic8/31/2023
N/A
Bbrody1928/31/2023
even though railways only current region is us-west1, the cron jobs run at UTC time, the deployments are also set to UTC, this is standard for all servers in any region
Mmarkmelnic8/31/2023
Wonderful, so that means I should offset my cron job by 3 hours to get the right time.
Bbrody1928/31/2023
if that is the offset from UTC to your timezone then yes
Mmarkmelnic8/31/2023
Thank you lots!
Bbrody1928/31/2023
no problem πŸ™‚
G.gagry9/6/2023
one question @Brody , what if Railway changes the server timezona? in this case, the solution @markmelnic will take, will get the wrong time, am I right?
Bbrody1929/6/2023
railway won't change the timezone, running servers on UTC is standard practice not just for railway
Mmarkmelnic9/6/2023
@.gagry you are right but as @Brody mentioned the UTC practice is very unlikely to change.

Looking for more? Join the community!

R
Railway

βœ‹ο½œhelp

Join Server
Recommended Posts
tsc: Permission deniedI just subscribed to the Hobby Plan and am trying to deploy my first backend. It was working fine iPostgres MemoryIt is possible run commands like 'top' or 'pg_top'? I need check memory usage for my Postgres instanUpgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?I understand how to re-deploy my app to take advantage of the PRO infrastructure (after dragging it Railway states that my free trial is over, but I only used 2.5$My Railway deployment was paused, but I didn't use the 5$. Why is that?Sync service hostname to environment variable with VercelIs it possible to take the hostname of a given service and push it into an environment variable on aBot TelegramHi i want to ask if is possible to deploy a telegram bot in railway, because i read that mirrors/useApplication failed to respondHello, I just bought the Hobby Plan and I tried to deploy an Express app I made, the issue is the sevm.max_map_count [65530] is too low during deployementHi everyone, I currently try to deploy a SonarQube application on Railway and during deployement, I Errors Installing Cal.com TemplateHello, I am running into issues installing the cal template. Error: `ERROR: failed to solve: procIs private networking down?Hey is private networking down or something? Because currently all my builds are crashing because thHow to save a bit in MySQL database?I am trying to put data in my table in SQL, but whenever I come across bit, the table does not accepRunning Sqlite migrate with prisma in railwayHi, so im trying to use Sqlite database with prisma in railway, i got this error, any clue with thisAngular SSRI'm planning to deploy an angular app with server side rendering. Does Railway support it? At the moKilled Errorhello can somebody help me with this its not starting my projectTerrafoam thingyMy friend told me to learn terrafoarm(this sounds wrong i forgot what its called) Anyway what does iDocker Build Error``` ============== Using Nixpacks ============== context: 009fc5728ee64eb7a597ef6570e251a0 β•”making linux program available in nixpacksHi, I want to run a golang app on railway. Within this app i use the following dependency https://giIs it normal for a deployment to be initializing this long?https://cdn.fl1nt.dev/GAGE1/YAdogAtO61.png I don't think this is normal, none of my deployments takUpdating N8N Service Via Railway CLIHello, I created a Railway project and installed N8N via a Railway template. The version I am on is Ephemeral storage concernHi I want to do programmatic NPM publishes using a Railway service I will need to basically use shel