Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kill worker process in Heroku

How do you kill all heroku workers?

I have tried:

heroku scale worker=0

and it doesn't work.

like image 692
user1013369 Avatar asked Dec 12 '22 07:12

user1013369


1 Answers

It depends on the stack.

The slider interface exposed via the website doesn't let you control Cedar stack applications, one of the following should do the trick though:

heroku ps:stop worker

or

heroku ps:workers 0
like image 179
John Beynon Avatar answered Dec 23 '22 18:12

John Beynon