我試圖運行一個deamon進程在heroku上運行。heroku運行一個守護進程
無框架應用程序只是一個紅寶石腳本,它啓動後監視我的Twitter流,如果有一張照片tweet,然後發佈在tumblr上。
本地它運行得很好,但是當我在heroku上運行它時,它只是馬上崩潰。
heroku[worker.1]: Starting process with command `bundle exec ruby twitter-to-tumblr.rb start`
heroku[worker.1]: State changed from starting to up
heroku[worker.1]: Process exited with status 0
heroku[worker.1]: State changed from up to crashed
我是一個紅寶石和heroku新手,我失去了一些東西在這裏,任何幫助真的很感激。
謝謝
當您在腳本中啓動守護進程時,父節點是否正在退出? –
本地它確實,我不知道對heroku – Jacopo