Openshift run cron with an invalid python version

后端 未结 2 997
爱一瞬间的悲伤
爱一瞬间的悲伤 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:07

    Exists a Workaround explained here: https://bugzilla.redhat.com/show_bug.cgi?id=1076626#c7 until the bug is fixed

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题