Python Forum

Full Version: python script to Batch File
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

How to create batch file for python script exectuion at specified time

Example

i have ptyhon file -gui.py
now i want gui.py to run at 5.30pm daily
Depends on your OS and the scheduling software you use. Python itself does not do that, rather your scheduler will start Python with that script at the time you set. In Windows, suggest Task Scheduler. In Linux, suggest Cron