Sep-25-2019, 09:17 AM
Hello I have a Linux machine that has python 2.6 when you log in and with this command scl enable rh-python36 bash I can change it to python 3.6.
I created a script that will run from crontab and it is like this:
Do you have any ideeas how I can make it work ?
Thanks
I created a script that will run from crontab and it is like this:
import os os.system("scl enable rh-python36 bash") os.system("python launch.py")The ideea is that after I launch this script that I wrote above it just changes the python version but it doesnt launches launch.py
Do you have any ideeas how I can make it work ?
Thanks