简体   繁体   中英

Can we schedule Selenium(Python) program to run after every 5 minutes in Windows?

I am currently working on a project in which the values have to be parsed automatically every 5 minutes.

I'm done with the project to parse values once. Using Python-Selenium.

Can someone help?

You can use the windows equivalent to a cron job, it is a scheduled task.

You will run your selenium program on a schedule.

See the Microsoft documentation on Schtasks .

You can read more about scheduling-a-python-script

See the answer of @steenhulthin for more explanation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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