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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...