Openshift run cron with an invalid python version

后端 未结 2 998
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-26 00:39

Two days ago my cron jobs stopped working. In the cron log is an error loading a library, so I change the cron to only make a \"python --version\" and shows 2.6 when my cardtrig

2条回答
  •  渐次进展
    2021-01-26 01:12

    Seems that the bug is in the cron cartridge.

    I am experiencing this issue in my Ruby 1.9 cartridge too. It shows Ruby 1.8 when running a cron script with ruby --version.

    Tried the workaround and exported the PATH and LD_LIBRARY_PATH. It works, and it shows ruby 1.9.3p448 in the cron script now.

    Thanks @moisesgallego. I updated the bug report too.

提交回复
热议问题