Jump to content

Recommended Posts

Posted

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!

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...