heyudude Posted May 1, 2020 Share Posted May 1, 2020 Hi, I am pleased with the lightning speed the root admin added my python module I requested. What is the absolute path to the modules? /usr/local/bin ? or? Thanks in advance Link to comment Share on other sites More sharing options...
Luigi123 Posted May 1, 2020 Share Posted May 1, 2020 If I remember correctly, the path to the Python modules is /usr/bin/python3.7 More information is from this link if you need it as a reference. https://wiki.helionet.org/Django 1 Link to comment Share on other sites More sharing options...
heyudude Posted May 1, 2020 Author Share Posted May 1, 2020 (edited) Thanks cronjob edited. I will see the result after the next run! Edited May 1, 2020 by heyudude Link to comment Share on other sites More sharing options...
Luigi123 Posted May 1, 2020 Share Posted May 1, 2020 Thanks cronjob edited. I will see the result after the next run! Perfect and you're welcome! Link to comment Share on other sites More sharing options...
heyudude Posted May 3, 2020 Author Share Posted May 3, 2020 (edited) Hi, Several tries later: no success yet. The path to the module is different that /usr/bin/python3.7 On my local test system it looks like this in the crontab:45 * * * * /usr/local/bin/crtools --config (and more) Can you provide me with the path to the python module: crtools?"which crtools" would be perfect Thanks Edited May 3, 2020 by heyudude Link to comment Share on other sites More sharing options...
Luigi123 Posted May 3, 2020 Share Posted May 3, 2020 Um, try to change to /usr/bin/Python3.7/crtools If you look at Krydos’s Python’s location site, it tells you the modules location. https://krydos2.heliohost.org/cgi-bin/modules37.py Link to comment Share on other sites More sharing options...
heyudude Posted May 3, 2020 Author Share Posted May 3, 2020 ok changed it to:/usr/bin/python.3.7/crtools --config (more stuff) Cronjob fired and waiting for the results Link to comment Share on other sites More sharing options...
Luigi123 Posted May 3, 2020 Share Posted May 3, 2020 Alright let us know if it works or not. Link to comment Share on other sites More sharing options...
heyudude Posted May 3, 2020 Author Share Posted May 3, 2020 No unfortunately not... /usr/local/cpanel/bin/jailshell: /usr/bin/python.3.7/crtools: No such file or directory With 'which crtools' I kniw at least where it resides. Thanks in advance Link to comment Share on other sites More sharing options...
Luigi123 Posted May 3, 2020 Share Posted May 3, 2020 Okay, this is Krydos question and I’m going to escalated to him. Escalating Link to comment Share on other sites More sharing options...
Krydos Posted May 4, 2020 Share Posted May 4, 2020 You were close. /usr/local/python3.7/bin/crtools 1 Link to comment Share on other sites More sharing options...
heyudude Posted May 4, 2020 Author Share Posted May 4, 2020 Thanks! editing in progress... Link to comment Share on other sites More sharing options...
heyudude Posted May 4, 2020 Author Share Posted May 4, 2020 Et Voila! It works!Thanks for the support Link to comment Share on other sites More sharing options...
Luigi123 Posted May 4, 2020 Share Posted May 4, 2020 You were close. /usr/local/python3.7/bin/crtools I was very close though and now the next time if the user had the same issue like this, I know how to solved it. Link to comment Share on other sites More sharing options...
Recommended Posts