Cannot setup a node-cron service
zoexili
TRIALOP

2 years ago

Hello,

I am having trouble trying to setup a node-cron service in my Railway workspace. Whenever I select a new node-cron service, it preselect the default template repo which cannot be changed. When I deploy the new service and try to edit any of the setting regarding the repo it constantly gives the error of "Failed to commit changes". The settings get saved but for some reason the railway environment cannot deploy from the currently selected repo, and I cannot simply create a fresh deployment. I only get the option to redeploy which just runs the initial deployment from the template repo. When I set the working directory for my node-cron script it simply tells me the directory does not exist when it is in fact in my repo. Even if i make a commit and push to main, every other service redeploys except the new node-cron service. We have an existing service using node-cron already, and I can see no difference in the way they are setup. My team and I would really appreciate the assistance in resolving the matter as we depend on Railway for many of our deployed services and we are considering other platforms for our needs if this continues to be a major blocker for our workflow. Thank you.

1 Replies

2 years ago

May I asked why you are trying to deploy the template when it sounds like you already have written your own code with node-cron?


Loading...