Cron Schedule not being picked up by railway.json
mathu97
PROOP

2 months ago

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.

$10 Bounty

3 Replies

mathu97
PROOP

2 months ago

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?


mathu97
PROOP

2 months ago

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


firewry
HOBBY

2 months ago

looks like you might be missing a closing bracket?


Loading...