iT邦幫忙

0

heroku 轉移到 fly.io平台

  • 分享至 

  • xImage

我是排程跑的程式,不是WEB架構,Procfile裏頭是CLOCK;主程式檔名,這樣還能無痛轉移嗎?上傳到fly.io的時候會說要修改,按YES之後就改成WEB了,目前看DEPLOY 是失敗的
以及我看fly.io沒有支援heroku的apscheduler排程指令的樣子。
以及不管有沒有修改procfile都會失敗如圖中的錯誤訊息
copying numpy/distutils/command/egg_info.py -> build/lib.linux-x86_64-3.10/numpy/distutils/command
copying numpy/distutils/command/sdist.py -> build/lib.linux-x86_64-3.10/numpy/distutils/command
copying numpy/distutils/command/install.py -> build/lib.linux-x86_64-3.10/numpy/distutils/commandError failed to fetch an image or build from source: executing lifecycle: failed with status code: 51

https://ithelp.ithome.com.tw/upload/images/20221206/20018576wlwzOykEZm.jpg

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
增廣建文
iT邦研究生 5 級 ‧ 2022-12-06 20:07:19

改用cron job吧 畢竟兩個平台功能還是差太多

https://fly.io/docs/laravel/the-basics/cron-and-queues/

apscheduler怎麼看起來像是安裝失敗

請問什麼看出來安裝失敗呢???的確是怪怪的 沒有按照排程

我要發表回答

立即登入回答