Hello,
You can try the following steps to troubleshoot the problem:
- Check permissions to ensure that the user account running the task in the task scheduler has the permissions required to execute the script and is not blocked by the firewall.
- Configure the task scheduler task using the full path of the executable file and script file.
- Does the script require network access? Try configuring the task to use a user account with the permissions needed to bypass the firewall, or schedule a basic Python script that doesn't require network access and see if it runs. If so, the problem may be related to the network access requirements of the original script.
- View the History TAB of the Task Scheduler task, as well as application logs and system logs in the Event Viewer, for related error messages. Please enable the options below before viewing.
I hope this helps. Please let me know if you require further assistance or have any questions.
Best regards