Heroku工作人员立即崩溃

时间:2013-06-10 17:43:51

标签: python heroku

我使用应用程序在Heroku云中部署了一个python worker。我的Procfile如下。

worker: python worker.py

Worker将读取文本文件,进行一些更改并写入另一个文本文件。两个文本文件都在app根目录中。这是逐行发生的。大约需要6个小时左右。但是一旦我部署它,在1分钟左右就会崩溃。错误记录为

State changed from up to crashed
Process exited with status 0

我不知道造成这种情况的原因。

0 个答案:

没有答案