如何停止通过Heroku Scheduler运行Rails任务的Heroku Dyno? [英] How can I stop Heroku Dyno that is running a Rails task through Heroku Scheduler?
本文介绍了如何停止通过Heroku Scheduler运行Rails任务的Heroku Dyno?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Heroku Scheduler 使用一次性Dyno来运行计划任务.那个dyno不会出现在Heroku仪表板中,但是它存在.如何重新启动或暂时停止它?
Heroku Scheduler uses a One-off Dyno to run the scheduled task. That dyno doesn't appear in Heroku Dashboard, but it's there. How can I restart it, or temporarily stop it?
推荐答案
如果安装了命令行工具,则heroku ps
将列出所有正在运行的进程,并且可以使用ps:kill
或ps:restart
来管理任何其中
If you have the command line tools installed, heroku ps
will list all the running processes, and you can use ps:kill
or ps:restart
to manage any of them.
heroku help ps
将为您提供更多详细信息.
heroku help ps
will give you more details.
这篇关于如何停止通过Heroku Scheduler运行Rails任务的Heroku Dyno?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文