Forum Discussion
LB_Team
1 year agoAdvocate I
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...
- 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 LearnThere is a free trial of Fabric available - go beyond that and you'll be into a paid capacity though.
ahmetyilmaz
1 year agoAdvocate II
Hi LB_Team , you can do this by renting a server. This way you don't need to keep your own computer on. You cannot execute commands on your computer when it is off.