简体   繁体   中英

scheduler for running python scripts

I have a python script which installs a build from server to a node. Now I want to schedule the task to a specific time, so that it triggers automatically.

One way is the windows scheduler to trigger batch file which internally calls runs the python script.

Do python have built-in support for this. It should be OS independent, runs on both windows and linux platform.

Any ideas?

I've used this lightweight scheduler before to handle cron tasks -> https://github.com/mrhwick/schedule

I'd highly recommend it.

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