简体   繁体   English

如何在 Windows 10 中的准确时间运行 Python 脚本?

[英]How can I run a Python script at an exact time in Windows 10?

I am using Windows 10. I have a Python script that I would like to run at a scheduled time every day without having to open the Python IDE and clicking run.我使用的是 Windows 10。我有一个 Python 脚本,我想在每天的预定时间运行,而无需打开 Python IDE 并单击运行。 Does anyone know how I can do this?.有谁知道我该怎么做?

Thanks in advance.提前致谢。

Look at scheduled tasks (like cron jobs on Linux)查看计划任务(如 Linux 上的 cron 作业)

Eg here: https://active-directory-wp.com/docs/Usage/How_to_add_a_cron_job_on_Windows/Scheduled_tasks_and_cron_jobs_on_Windows/例如这里: https ://active-directory-wp.com/docs/Usage/How_to_add_a_cron_job_on_Windows/Scheduled_tasks_and_cron_jobs_on_Windows/

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

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