daneesv Posted December 20, 2024 Posted December 20, 2024 Good morning! Is it possible to run a .py file from a scheduled task? When using the command "/usr/bin/python3.12 /home/daneesv.heliohost.us/httpdocs/index.py", I get the error: -: line 1: /usr/bin/python3.12: No such file or directory Thank you! Quote
wolstech Posted December 20, 2024 Posted December 20, 2024 The task scheduler is jailed to your home folder by design for security reasons. You can't call binaries as a result. The typical workaround is to call the file via URL option instead. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.