Python Forum
Running Python script through Task Scheduler?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running Python script through Task Scheduler?
#1
Question 
Hello,

This is my first try at running a Python (3.12.0) script through Windows 10's Task Scheduler… and it didn't work (as pretty much expected).

It's a simple script that 1) fetches a web page from the Net, 2) parses it to find something, and 3) sends an email through my ISP's SMTP server. The script works when launched manually.

First, I simply fed it the full path to the script: No email.

Next, I right-clicked on it, told TS to use the following app to run the script… still no email.
Quote:C:\Users\joe\AppData\Local\Programs\Python\Python312\python.exe

Does someone know/have a guess at what's wrong?

Thank you.

[Image: Task-Scheduler-Python.png]
Reply


Messages In This Thread
Running Python script through Task Scheduler? - by Winfried - Mar-10-2024, 03:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  No Internet connection when running a Python script basil_555 8 945 Mar-11-2024, 11:02 AM
Last Post: snippsat
  Help Running Python Script in Mac OS emojistickers 0 421 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  Trying to make a board with turtle, nothing happens when running script Quascia 3 825 Nov-01-2023, 03:11 PM
Last Post: deanhystad
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,763 Jun-29-2023, 11:57 AM
Last Post: gologica
  Python script running under windows over nssm.exe JaroslavZ 0 813 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  Running script with subprocess in another directory paul18fr 1 4,439 Jan-20-2023, 02:33 PM
Last Post: paul18fr
  count certain task in task manager[solved] kucingkembar 2 1,239 Aug-29-2022, 05:57 PM
Last Post: kucingkembar
  Running script on multiple files Afrodizzyjack 1 2,599 May-14-2021, 10:49 PM
Last Post: Yoriz
  Schedule a task and render/ use the result of the task in any given time klllmmm 2 2,223 May-04-2021, 10:17 AM
Last Post: klllmmm
  Error when running script on startup in Linux NoahTheNerd 0 2,046 Mar-07-2021, 04:54 PM
Last Post: NoahTheNerd

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020