#Cron Schedule not being picked up by railway.json

3 messages · Page 1 of 1 (latest)

zealous violet
#

I have a railway.json file:

{
  "$schema": "https://railway.com/railway.schema.json",
  "build": {
    "builder": "NIXPACKS"
  },
  "deploy": {
    "startCommand": "npm run start",
    "restartPolicyType": "NEVER",
    "cronSchedule": "0 5 * * *"
}

and when I go to create the app, the railway.json file is being detected and all the configs except for the cronSchedule are set.

#

hmm it looks like its more than just cronSchedule, even things like the builder, and region aren't picked up. Are there known limitations for railway.json or is this a bug?

#

ah nevermind, it seems when I actually click deploy it picks up the values, even though it only partially reflects on the dashboard.