简体   繁体   English

每天运行一次 Python 脚本

[英]Run a Python script once per day

I have a small Python utility script that I would like to run once a day, overnight when the computer is in a quiescent mode (hibernate, sleeping, whatever works).我有一个小的 Python 实用程序脚本,我想在计算机处于静止模式(休眠、睡眠、任何工作)时每天运行一次,过夜。 I have tried using Task Scheduler on Win10, but it just doesn't work- see all the Internet frustration.我曾尝试在 Win10 上使用任务计划程序,但它不起作用——看到所有的互联网挫败感。

Any suggestion welcome!欢迎任何建议!

You can configure Task Scheduler to wake your computer before it tries to run your task:您可以将任务计划程序配置为在计算机尝试运行您的任务之前唤醒您的计算机:

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM