Forum Discussion

LB_Team's avatar
LB_Team
Advocate I
1 year ago
Solved

How can I schedule a Python script to run daily (including Sundays) even when my laptop is off?

I have a Python script that I want to automate using Task Scheduler on Windows. The script runs fine when my laptop is on, but I want it to execute daily (including Sundays) even if my laptop is turn...
  • spencer_sa's avatar
    spencer_sa
    1 year ago

    If your code has no local dependecies (i.e. you don't need any data/files from the laptop), you could consider migrating the code to a Fabric notebook which will run Python.  You've posted in a Fabric Community Forum so this is the most likely topic of advice here.
    There are tonnes of learning resources about notebooks - starting here;
    How to use notebooks - Microsoft Fabric | Microsoft Learn

     

    There is a free trial of Fabric available - go beyond that and you'll be into a paid capacity though.