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
  Running script from remote to server invisiblemind 4 950 Mar-28-2025, 07:57 AM
Last Post: buran
  Detect if another copy of a script is running from within the script gw1500se 4 1,301 Jan-31-2025, 11:30 PM
Last Post: Skaperen
  No Internet connection when running a Python script basil_555 8 3,783 Mar-11-2024, 11:02 AM
Last Post: snippsat
  Help Running Python Script in Mac OS emojistickers 0 1,048 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  Trying to make a board with turtle, nothing happens when running script Quascia 3 1,943 Nov-01-2023, 03:11 PM
Last Post: deanhystad
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 8,542 Jun-29-2023, 11:57 AM
Last Post: gologica
  Python script running under windows over nssm.exe JaroslavZ 0 2,047 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  Running script with subprocess in another directory paul18fr 1 13,529 Jan-20-2023, 02:33 PM
Last Post: paul18fr
  count certain task in task manager[solved] kucingkembar 2 2,076 Aug-29-2022, 05:57 PM
Last Post: kucingkembar
  Running script on multiple files Afrodizzyjack 1 3,319 May-14-2021, 10:49 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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