1

I have a node app used only in a scheduler. But heroku keeps trying to call npm start on in.

State changed from starting to crashed
Process exited with status 1
State changed from crashed to starting
Starting process with command `npm start`

Even with a dummy worker in Procfile:

worker: echo 1

There's always a web process added at deploy:

Default types for Node.js -> web 

Any ideas on how I could get rid of heroku continuously trying to npm start?

1 Answer 1

2

Not really a direct solution, but you could easily scale down your web processes to 0.

heroku ps:scale web=0

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.