daneesv Posted Friday at 02:07 PM Posted Friday at 02:07 PM 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!
wolstech Posted Friday at 02:26 PM Posted Friday at 02:26 PM 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now